From 8f17707c615c69d021d353db7c4396c2ef41d80e Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Wed, 4 Jun 2003 05:42:04 +0000 Subject: [PATCH] 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(+) diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile index 0813b6e44e6..aff795f9743 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