diff options
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/bsd.sys.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index e8affb9..10c28c4 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -8,9 +8,10 @@ # for GCC: http://gcc.gnu.org/onlinedocs/gcc-3.0.4/gcc_3.html#IDX143 -.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" +.if ${MACHINE_ARCH} == "i386" CSTD ?= c99 -.elif ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "powerpc" +.elif ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "powerpc" || \ + ${MACHINE_ARCH} == "amd64" # Can't use "c99" below due to lack of alloca.S for non-i386 platforms. CSTD ?= gnu99 .else |