summaryrefslogtreecommitdiffstats
path: root/lib/csu
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2003-06-04 11:21:18 +0000
committerbde <bde@FreeBSD.org>2003-06-04 11:21:18 +0000
commit8ba6f0513216caabb9da7594a3e3431c944feedf (patch)
tree5da45d73b58347f3074bfbc121cf97dd99ba7630 /lib/csu
parent1181a0035927040a5087c6f4492857823708fbb6 (diff)
downloadFreeBSD-src-8ba6f0513216caabb9da7594a3e3431c944feedf.zip
FreeBSD-src-8ba6f0513216caabb9da7594a3e3431c944feedf.tar.gz
Removed garbage:
- -elf in CFLAGS had no effect except to reduce portability. - -elf in LDFLAGS had even less effect, since LDFLAGS is not used. - -Wall in CFLAGS had no effect except to reduce portability and break overriding of WARNS, since the setting of WARNS implies -Wall.
Diffstat (limited to 'lib/csu')
-rw-r--r--lib/csu/i386-elf/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/csu/i386-elf/Makefile b/lib/csu/i386-elf/Makefile
index 7e2510c..9c61de7 100644
--- a/lib/csu/i386-elf/Makefile
+++ b/lib/csu/i386-elf/Makefile
@@ -6,10 +6,8 @@ SRCS= crt1.c crti.S crtn.S
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
OBJS+= gcrt1.o
WARNS?= 6
-CFLAGS+= -elf -Wall \
- -I${.CURDIR}/../common \
+CFLAGS+= -I${.CURDIR}/../common \
-I${.CURDIR}/../../libc/include
-LDFLAGS+= -elf
all: ${OBJS}
OpenPOWER on IntegriCloud