mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-20 02:38:43 +00:00
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.
This commit is contained in:
parent
c842a5ca87
commit
b307c7420c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115902
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user