From nobody Mon Dec 06 19:17:00 2021 X-Original-To: dev-commits-src-all@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 0455918C0A65; Mon, 6 Dec 2021 19:17:02 +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 4J7Cq12LLmz4fm8; Mon, 6 Dec 2021 19:17:01 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 12D7011C0B; Mon, 6 Dec 2021 19:17:01 +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 1B6JH0eT007472; Mon, 6 Dec 2021 19:17:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B6JH0Yc007471; Mon, 6 Dec 2021 19:17:00 GMT (envelope-from git) Date: Mon, 6 Dec 2021 19:17:00 GMT Message-Id: <202112061917.1B6JH0Yc007471@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Jessica Clarke Subject: git: 05066fad68f0 - main - Makefile.boot: Make -Wno-typedef-redefinition Clang-specific List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/main X-Git-Reftype: branch X-Git-Commit: 05066fad68f03f0f7cf602924dd35ee327bf2b2d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638818221; 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=psll2VNAQZ+ptgC6PIcRA1KM7DyVmV5RjD9opD/3nZ4=; b=EHeFvEL1Qups9vFHsPLGoOEKwcXqldMXllxRUMDpYHvcv/5v0vBe1+UB1dBPO0ZFpsYq7d SJw96+gxBcTan5ldgZ6UsfawTdBzyQJIJtu9rmHBQfqvf2gQJBvnQadqZAhjW5E8AFNFZi pXEKoDYIVuKM1EtkLR4Z7eqz4fnlnmNC470rALBRjFJ93DUBgwirwjY6h7ihTqKVKyRzUY dhR/0LllXe6xfuZjOlsn/OuAftJtyxLtWugI5KLx16Wh0Kk0zWn/TXRLcCNCxUeS/Lmt2f tMLYI0TuF6f4mhZlXQyw1E3y+RZrrcz2xQLCmNm4tKm3BOwGwYTQNYqtjGODpA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638818221; a=rsa-sha256; cv=none; b=OSaVIq2W6aO1BYJnjKknezBSVfYRCKLtalqZRLgenO3c2fSE6TWUzMATSdGjxTo26GyW2R yiF/p/9va5EKXAB6V5PtoZHmERBPrwIYt1mHakTc6veWJ6Q7Dv9L8QGPJX4bc/kYGKgJpo R3yrrRY2OkI6JXbUCVPafoADVFoJ65XoRuT7q8GeUGv+XwWwuJweG3W3QHqz1WjYhatS7U FITzMslOu8smjYD9GufCLM1M4u//10SnFNA5pxxgYxLjT8SnXBQdXo7/1qDRE5fzC/zulP lR2+mAcEiwpcIUifoLCfFcHMYcd6tsEKJT9OZEo5MJp5A/k6YICIM+f3nSMU3A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=05066fad68f03f0f7cf602924dd35ee327bf2b2d commit 05066fad68f03f0f7cf602924dd35ee327bf2b2d Author: Jessica Clarke AuthorDate: 2021-12-06 19:12:46 +0000 Commit: Jessica Clarke CommitDate: 2021-12-06 19:16:26 +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 --- 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