diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-05-14 04:19:43 +0000 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-05-14 04:19:43 +0000 |
commit | e9efa23ae121c8976e5dc2bbcf29e029b5087e76 (patch) | |
tree | 55c9bdfec6626bdcb4fa81548a6177b28d8ee223 /libc/inet | |
parent | 64bc6412188b141c010ac3b8e813b837dd991e80 (diff) |
Patch from "D. Jeff Dionne / VE3DJF" <jeff@rt-control.com>
to allow uC-libc to compile under x86.
-Erik
Diffstat (limited to 'libc/inet')
-rw-r--r-- | libc/inet/Makefile | 8 | ||||
-rw-r--r-- | libc/inet/rpc/Makefile | 6 |
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 |