Set CSTD to gnu99. We can only use on of the gnu?9 C languages.
We can't use c89 due to use of 'inline', and c99 produces bad code.
This commit is contained in:
parent
22ee8c4f50
commit
8f17707c61
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115814
@ -4,6 +4,7 @@ PROG= ld-elf.so.1
|
||||
SRCS= rtld_start.S rtld.c rtld_lock.c map_object.c malloc.c \
|
||||
xmalloc.c debug.c reloc.c
|
||||
MAN= rtld.1
|
||||
CSTD?= gnu99
|
||||
CFLAGS+= -Wall -DFREEBSD_ELF -DIN_RTLD
|
||||
CFLAGS+= -I${.CURDIR}/${MACHINE_ARCH} -I${.CURDIR}
|
||||
LDFLAGS+= -nostdlib -e .rtld_start
|
||||
|
Loading…
Reference in New Issue
Block a user