summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.sys.mk
diff options
context:
space:
mode:
Diffstat (limited to 'share/mk/bsd.sys.mk')
-rw-r--r--share/mk/bsd.sys.mk3
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
OpenPOWER on IntegriCloud