summaryrefslogtreecommitdiff
path: root/libc/inet
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet')
-rw-r--r--libc/inet/Makefile8
-rw-r--r--libc/inet/rpc/Makefile6
2 files changed, 7 insertions, 7 deletions
diff --git a/libc/inet/Makefile b/libc/inet/Makefile
index 28565cecd..0b8797488 100644
--- a/libc/inet/Makefile
+++ b/libc/inet/Makefile
@@ -6,11 +6,11 @@
LIBC=../libc.a
-CC=m68k-pic-coff-gcc
-AR=m68k-pic-coff-ar
-RANLIB=m68k-pic-coff-ranlib
+CC=$(CROSS)gcc
+AR=$(CROSS)ar
+RANLIB=$(CROSS)ranlib
-CCFLAGS= -O2 -m68000 -msoft-float -fno-builtin -I../include
+CCFLAGS= -O2 $(CPUFLAGS) -fno-builtin -I../include
ASRC=addr.c
AOBJ=inet_aton.o inet_addr.o inet_ntoa.o
diff --git a/libc/inet/rpc/Makefile b/libc/inet/rpc/Makefile
index 388434165..8c2229374 100644
--- a/libc/inet/rpc/Makefile
+++ b/libc/inet/rpc/Makefile
@@ -1,6 +1,6 @@
-CC=m68k-pic-coff-gcc
-AR=m68k-pic-coff-ar
-RANLIB=m68k-pic-coff-ranlib
+CC=$(CROSS)gcc
+AR=$(CROSS)ar
+RANLIB=$(CROSS)ranlib
CFLAGS= -O2 -fomit-frame-pointer -Dlinux -I../include