From nobody Tue Jan 25 01:39:53 2022 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4B2D519721DB; Tue, 25 Jan 2022 01:39:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JjV0B1fGcz4ZSl; Tue, 25 Jan 2022 01:39:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643074794; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EVvAIB0EnjPywGoEIRzf0diHQlj4GyRiJJmNKXkF0jU=; b=HZQuxN1aBUiczy8MF1R+AVqapgeOWhmeaEZl2jABmxN1BUmahcPmk54VNAJE4eBEjURLqG 2rEUJrnLNt0abpE3Bj2jJffFA1qXZ08lNsIAngbjObJ4SXFfsYoR7Sy6n/fPAFbrGcd2qL 3+AxpUyElhzsXfTit8dahc4EXJYiof7cju9txQrlvPSzxovxKtkNCbAasKWg2shfQqLKqV 7OAQhcax/pdLSg1WBuBC+rkI0rl30NvFyq+PfSv7gBFql916dDYnVjnHMxDb/9luBzZWlL ZycT58HwIYdxC0Cp5+n+qPZDauzuEsAfrQJEG1WzG5uvBaVJndo24rZTGkIeow== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 18DCA20B35; Tue, 25 Jan 2022 01:39:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20P1dsBI042803; Tue, 25 Jan 2022 01:39:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20P1drAJ042802; Tue, 25 Jan 2022 01:39:53 GMT (envelope-from git) Date: Tue, 25 Jan 2022 01:39:53 GMT Message-Id: <202201250139.20P1drAJ042802@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Jessica Clarke Subject: git: 29665d68e254 - stable/13 - Makefile.boot: Make -Wno-typedef-redefinition Clang-specific List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jrtc27 X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 29665d68e254c2f0fd26add7c72d837aa07c4b72 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643074794; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EVvAIB0EnjPywGoEIRzf0diHQlj4GyRiJJmNKXkF0jU=; b=tW1sxvIStyk1uT9QoFskuKIJ2drVmBP+SVpct6zvFpEipMJVbvW1+YM87adKG9/0Zbw1Ma q4GNzEb/P3LUFjv1dTSvEF3T1XmvtH8SwKrX9iEEmlTXykwMq4ueyvP8CiOzAUU1irVqnZ +WJn0s4k0LxMr1I1rx8cqg3oSa9rbkq9aquCGEK9gckEwxQkQZYEBaMEY9ko2pz+RqeqkM bfXuObGnuyui+vtdtSayfZojy7hfXPWcynrArQgIHLtvrkjiLKILtDYCgdM3AUiiEvmBku FrQSufCdmmQdTO0OQrhXsFixx06F2Vey+tL5VRSdi+o+5bqhyv15pi+z9CJWXg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643074794; a=rsa-sha256; cv=none; b=Z4N9JMMYTPMLRJs2zHVcOO7NfY3jjNBouFfh7I00RfNDFLirMRAgnqUxb3R3CEmT6b7kIY oaD1lJdrl1IJpyVek9RghzVcYlj7r7DK+82ImXiBq1FQaczd4dDUFSCh5glNsOAlr2MKjb gLHW8+2tlRhKJHZJ0d64N+qRjFqd3C2lAcOwnTAe2cjRzEOcJ/zNzEtK/pRD254UpN9VBx h0I+i1sg4cR1X9xabQDeqjWTc7o36R6kHf34lMjBpdkQazaU31qPY4nWSw320ejZlMIGEa Ly5lDGZ1Fmp4C2uvMEWI1okyMAzWwIiaokpgiIjv289mRLUFUz55ita2WK4VQQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=29665d68e254c2f0fd26add7c72d837aa07c4b72 commit 29665d68e254c2f0fd26add7c72d837aa07c4b72 Author: Jessica Clarke AuthorDate: 2021-12-06 19:12:46 +0000 Commit: Jessica Clarke CommitDate: 2022-01-24 23:59:02 +0000 Makefile.boot: Make -Wno-typedef-redefinition Clang-specific GCC doesn't have this warning and so also doesn't have the flag to disable it, resulting in it spewing a bunch of warnings about the command line option being unrecognised. MFC after: 1 week (cherry picked from commit 05066fad68f03f0f7cf602924dd35ee327bf2b2d) --- tools/build/mk/Makefile.boot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build/mk/Makefile.boot b/tools/build/mk/Makefile.boot index 7ebbf726e7f2..317f1816dbea 100644 --- a/tools/build/mk/Makefile.boot +++ b/tools/build/mk/Makefile.boot @@ -37,7 +37,7 @@ CFLAGS+= -Werror=implicit-function-declaration -Werror=implicit-int \ CFLAGS+= -DHAVE_NBTOOL_CONFIG_H=1 CFLAGS+= -I${SRCTOP}/tools/build/cross-build/include/common # This is needed for code that compiles for pre-C11 C standards -CWARNFLAGS+= -Wno-typedef-redefinition +CWARNFLAGS.clang+=-Wno-typedef-redefinition # bsd.sys.mk explicitly turns on -Wsystem-headers, but that's extremely # noisy when building on Linux. CWARNFLAGS+= -Wno-system-headers