Makefile updates:

Turn on optimization
Remove some redundancy in FLAGS
This commit is contained in:
Arun Thomas
2010-06-11 16:05:36 +00:00
parent 19b790eb53
commit 1b2c01db1b
20 changed files with 14 additions and 30 deletions

View File

@@ -8,7 +8,7 @@
# routines are found in libc.a. (The printf and scanf need floating point
# for the %f formats, whether you use them or not.)
CPPFLAGS+=-O -D_MINIX -D_POSIX_SOURCE -I${.CURDIR}/../../libc/stdio
CPPFLAGS+=-I${.CURDIR}/../../libc/stdio
LIB= d

View File

@@ -4,7 +4,7 @@
LIB= e
AFLAGS+=-O -D_MINIX -D_POSIX_SOURCE -Was-ack
AFLAGS+=-Was-ack
.include "${.CURDIR}/arch/${ARCH}/em/Makefile.inc"
.include "${.CURDIR}/arch/${ARCH}/head/Makefile.inc"

View File

@@ -6,7 +6,7 @@
.fc.o:
${_MKTARGET_COMPILE}
cp ${.IMPSRC} tmp.c
cc -O -I${.CURDIR} -D_MINIX -D_POSIX_SOURCE -S tmp.c
cc -I${.CURDIR} ${CFLAGS} -S tmp.c
sed -f ${.CURDIR}/FP.script tmp.s > ${.PREFIX}.s
cc -I${.CURDIR} -c -o ${.TARGET} ${.PREFIX}.s
rm -f tmp.c tmp.s ${PREFIX}.s

View File

@@ -1,7 +1,5 @@
# Makefile for liby
CPPFLAGS+=-O -D_MINIX -D_POSIX_SOURCE
LIB= y
SRCS= \