Makefile updates:
Turn on optimization Remove some redundancy in FLAGS
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
# Makefile for liby
|
||||
|
||||
CPPFLAGS+=-O -D_MINIX -D_POSIX_SOURCE
|
||||
|
||||
LIB= y
|
||||
|
||||
SRCS= \
|
||||
|
||||
Reference in New Issue
Block a user