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:
committed by
John Baldwin
parent
ca4eddea97
commit
3a98d5701c
+1
-1
@@ -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" || \
|
||||
|
||||
Reference in New Issue
Block a user