bsd.sys.mk: Add NO_WSTRICT_PROTOTYPES like in kernel
Also add NO_WSTRICT_PROTOTYPES like we do for the kernel. Sponsored by: Netflix
This commit is contained in:
parent
ef6f20ce47
commit
d04c86717c
@ -127,6 +127,7 @@ CWARNFLAGS+= -Wno-misleading-indentation
|
|||||||
NO_WBITWISE_INSTEAD_OF_LOGICAL= -Wno-bitwise-instead-of-logical
|
NO_WBITWISE_INSTEAD_OF_LOGICAL= -Wno-bitwise-instead-of-logical
|
||||||
.endif
|
.endif
|
||||||
.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 150000
|
.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 150000
|
||||||
|
NO_WSTRICT_PROTOTYPES= -Wno-strict-prototypes
|
||||||
NO_WDEPRECATED_NON_PROTOTYPE=-Wno-deprecated-non-prototype
|
NO_WDEPRECATED_NON_PROTOTYPE=-Wno-deprecated-non-prototype
|
||||||
.endif
|
.endif
|
||||||
.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 100100
|
.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 100100
|
||||||
|
Loading…
Reference in New Issue
Block a user