From ccc4300e95754fa2e86a6a028f72679cf9c970be Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Mon, 29 Apr 2002 13:07:20 +0000 Subject: Removed "-fkeep-inline-functions" from CFLAGS, since it now has no effect except to generate spurious warnings about a system header 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 --- lib/csu/amd64/Makefile | 2 +- lib/csu/i386-elf/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/csu/amd64/Makefile b/lib/csu/amd64/Makefile index b602a0292b52b..630872c7cc20f 100644 --- a/lib/csu/amd64/Makefile +++ b/lib/csu/amd64/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 diff --git a/lib/csu/i386-elf/Makefile b/lib/csu/i386-elf/Makefile index b602a0292b52b..630872c7cc20f 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 -- cgit v1.3