mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-18 15:53:37 +00:00
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
|
||||
.endif
|
||||
.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 150000
|
||||
NO_WSTRICT_PROTOTYPES= -Wno-strict-prototypes
|
||||
NO_WDEPRECATED_NON_PROTOTYPE=-Wno-deprecated-non-prototype
|
||||
.endif
|
||||
.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 100100
|
||||
|
|
Loading…
Reference in a new issue