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
This commit is contained in:
parent
b57e802a85
commit
ccc4300e95
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=95721
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user