From e9efa23ae121c8976e5dc2bbcf29e029b5087e76 Mon Sep 17 00:00:00 2001 From: Erik Andersen Date: Sun, 14 May 2000 04:19:43 +0000 Subject: Patch from "D. Jeff Dionne / VE3DJF" to allow uC-libc to compile under x86. -Erik --- libc/stdlib/Makefile | 8 ++++---- libc/stdlib/malloc/Makefile | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'libc/stdlib') diff --git a/libc/stdlib/Makefile b/libc/stdlib/Makefile index da8053f1d..c45cd2840 100644 --- a/libc/stdlib/Makefile +++ b/libc/stdlib/Makefile @@ -4,11 +4,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 MSRC=aliases.c MOBJ=abs.o remove.o creat.o bcopy.o bzero.o diff --git a/libc/stdlib/malloc/Makefile b/libc/stdlib/malloc/Makefile index 36872c301..26cfb6930 100644 --- a/libc/stdlib/malloc/Makefile +++ b/libc/stdlib/malloc/Makefile @@ -4,11 +4,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 -I../include +CCFLAGS= -O2 $(CPUFLAGS) -I../include MSRC=alloc.c -- cgit v1.2.3