mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
sys: Use gnu17 as the default C standard for the kernel
Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D43239
This commit is contained in:
parent
ca4eddea97
commit
3a98d5701c
1 changed files with 1 additions and 1 deletions
|
|
@ -367,7 +367,7 @@ PHONY_NOTMAIN = afterdepend afterinstall all beforedepend beforeinstall \
|
|||
.PHONY: ${PHONY_NOTMAIN}
|
||||
.NOTMAIN: ${PHONY_NOTMAIN}
|
||||
|
||||
CSTD?= gnu99
|
||||
CSTD?= gnu17
|
||||
|
||||
# c99/gnu99 is the minimum C standard version supported for kernel build
|
||||
.if ${CSTD} == "k&r" || ${CSTD} == "c89" || ${CSTD} == "c90" || \
|
||||
|
|
|
|||
Loading…
Reference in a new issue