The branch main has been updated by imp:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=d04c86717c8ca3aa1bd9d8927a37a1f5443925b5

commit d04c86717c8ca3aa1bd9d8927a37a1f5443925b5
Author:     Warner Losh <[email protected]>
AuthorDate: 2023-02-19 07:02:12 +0000
Commit:     Warner Losh <[email protected]>
CommitDate: 2023-02-19 07:02:12 +0000

    bsd.sys.mk: Add NO_WSTRICT_PROTOTYPES like in kernel
    
    Also add NO_WSTRICT_PROTOTYPES like we do for the kernel.
    
    Sponsored by:           Netflix
---
 share/mk/bsd.sys.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk
index 169f9fe50779..b4c053d053dc 100644
--- a/share/mk/bsd.sys.mk
+++ b/share/mk/bsd.sys.mk
@@ -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

Reply via email to