Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Feb 2023 07:04:30 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: d04c86717c8c - main - bsd.sys.mk: Add NO_WSTRICT_PROTOTYPES like in kernel
Message-ID:  <202302190704.31J74UAg011666@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

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

commit d04c86717c8ca3aa1bd9d8927a37a1f5443925b5
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-02-19 07:02:12 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302190704.31J74UAg011666>