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
a9b8284f73
commit
1646a714c5
@ -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…
x
Reference in New Issue
Block a user