From 93e4e9df9b8daaa6ae7d065064ec2bb1adfc1755 Mon Sep 17 00:00:00 2001 From: obrien Date: Fri, 6 Jun 2003 16:55:05 +0000 Subject: Compile our code as C99 w/GNU extensions by default. We can't use straight "c99" due to the lack of alloca.S for non-i386 platforms. --- share/mk/bsd.sys.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'share/mk/bsd.sys.mk') diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index 9c84f29..4f6e085 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -8,7 +8,8 @@ # for GCC: http://gcc.gnu.org/onlinedocs/gcc-3.0.4/gcc_3.html#IDX143 -CSTD ?= +# Can't use "c99" below due to lack of alloca.S for non-i386 platforms. +CSTD ?= gnu99 .if ${CSTD} != "" . if ${CSTD} == "k&r" CFLAGS += -traditional -- cgit v1.1