summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-06-04 05:42:04 +0000
committerobrien <obrien@FreeBSD.org>2003-06-04 05:42:04 +0000
commit1646a714c55c06d685c29c59ad5614f793789e79 (patch)
tree0a10ca34838975265a0e7a889c39a01e88b9275e /libexec/rtld-elf/Makefile
parenta9b8284f73dbdded9334e7fdd26f87bc17b0e835 (diff)
downloadFreeBSD-src-1646a714c55c06d685c29c59ad5614f793789e79.zip
FreeBSD-src-1646a714c55c06d685c29c59ad5614f793789e79.tar.gz
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.
Diffstat (limited to 'libexec/rtld-elf/Makefile')
-rw-r--r--libexec/rtld-elf/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile
index 0813b6e..aff795f 100644
--- a/libexec/rtld-elf/Makefile
+++ b/libexec/rtld-elf/Makefile
@@ -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
OpenPOWER on IntegriCloud