summaryrefslogtreecommitdiffstats
path: root/lib/csu/i386-elf/Makefile
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-04-29 13:07:20 +0000
committerbde <bde@FreeBSD.org>2002-04-29 13:07:20 +0000
commit0dd30d20d385d2160bcbfeacccc269aa1da113b6 (patch)
tree41679f97b9d4d6a86057db31dbf6e041c2935d64 /lib/csu/i386-elf/Makefile
parent7b2f527b762ff7efbf18017fe8d715d4dc5ed89a (diff)
downloadFreeBSD-src-0dd30d20d385d2160bcbfeacccc269aa1da113b6.zip
FreeBSD-src-0dd30d20d385d2160bcbfeacccc269aa1da113b6.tar.gz
Removed "-fkeep-inline-functions" from CFLAGS, since it now has no effect
except to generate spurious warnings about a system header <sys/param.h> having some inline functions (the bswap family). This backs out the main part of rev.1.5 (which was the only part left). The problem fixed by rev.1.5 of the Makefile went away in rev.1.5 of ../common/crtbegin.c when the references to do_ctors() and do_dtors() in the latter were moved from inline asm to C code. This leaves the problem that implementation details cause warnings. Discussed with: jdp
Diffstat (limited to 'lib/csu/i386-elf/Makefile')
-rw-r--r--lib/csu/i386-elf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csu/i386-elf/Makefile b/lib/csu/i386-elf/Makefile
index b602a02..630872c 100644
--- a/lib/csu/i386-elf/Makefile
+++ b/lib/csu/i386-elf/Makefile
@@ -5,7 +5,7 @@
SRCS= crt1.c crti.S crtn.S
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
OBJS+= gcrt1.o
-CFLAGS+= -elf -Wall -fkeep-inline-functions \
+CFLAGS+= -elf -Wall \
-I${.CURDIR}/../common \
-I${.CURDIR}/../../libc/include
LDFLAGS+= -elf
OpenPOWER on IntegriCloud