From 1646a714c55c06d685c29c59ad5614f793789e79 Mon Sep 17 00:00:00 2001 From: obrien Date: Wed, 4 Jun 2003 05:42:04 +0000 Subject: 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. --- libexec/rtld-elf/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'libexec') 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 -- cgit v1.1