summaryrefslogtreecommitdiffstats
path: root/libc/stdlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/Makefile')
-rw-r--r--libc/stdlib/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/libc/stdlib/Makefile b/libc/stdlib/Makefile
index c45cd2840..61a82a2d6 100644
--- a/libc/stdlib/Makefile
+++ b/libc/stdlib/Makefile
@@ -2,13 +2,10 @@
# This file is part of the Linux-8086 C library and is distributed
# under the GNU Library General Public License.
-LIBC=../libc.a
-
-CC=$(CROSS)gcc
-AR=$(CROSS)ar
-RANLIB=$(CROSS)ranlib
+TOPDIR=../
+include $(TOPDIR)Rules.make
-CCFLAGS= -O2 $(CPUFLAGS) -fno-builtin -I../include
+LIBC=../libc.a
MSRC=aliases.c
MOBJ=abs.o remove.o creat.o bcopy.o bzero.o
@@ -33,8 +30,6 @@ OBJ=$(MOBJ) $(EOBJ) $(GOBJ) $(UOBJ)
#OBJ+=strtod.o
#endif
-CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS)
-
all: $(LIBC)
@$(RM) $(OBJ)