diff options
author | obrien <obrien@FreeBSD.org> | 2003-06-06 16:55:05 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-06-06 16:55:05 +0000 |
commit | 93e4e9df9b8daaa6ae7d065064ec2bb1adfc1755 (patch) | |
tree | 1182ccb9b2cc45ca8794ede827fda084550f94d6 /share/mk | |
parent | e9955b188c891a8c7dc92fe6c82e915abe115c60 (diff) | |
download | FreeBSD-src-93e4e9df9b8daaa6ae7d065064ec2bb1adfc1755.zip FreeBSD-src-93e4e9df9b8daaa6ae7d065064ec2bb1adfc1755.tar.gz |
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.
Diffstat (limited to 'share/mk')
-rw-r--r-- | share/mk/bsd.sys.mk | 3 |
1 files changed, 2 insertions, 1 deletions
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 |