From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-4.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.5 Received: by atuin.qyliss.net (Postfix, from userid 496) id AACCF19725; Sat, 29 May 2021 14:42:58 +0000 (UTC) Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id E03FB19532; Sat, 29 May 2021 14:41:56 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 496) id 7A92C1941C; Sat, 29 May 2021 14:41:51 +0000 (UTC) Received: from wforward1-smtp.messagingengine.com (wforward1-smtp.messagingengine.com [64.147.123.30]) by atuin.qyliss.net (Postfix) with ESMTPS id 29236194A1 for ; Sat, 29 May 2021 14:41:44 +0000 (UTC) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailforward.west.internal (Postfix) with ESMTP id C88B711F0; Sat, 29 May 2021 10:41:42 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sat, 29 May 2021 10:41:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=4UVQyobgLbGEABKMigqoBMc0yltjng5J3hqdcGoVWmg=; b=Qbw61z3u jIH3aLDsKn5B3F3OnR96ZZHg9yxmPr3QGL/LjE5VvVqrwCGWmsrcb0V69mSYiONr mmqxP/HfAdgPGGZOY79ni5+029Ky3UWeYMHQVq8HJO78l/L1wYSReR8S8d79Cwnz H2m8W1xWHLGzzpw7QJR5PSsZFtKoEXMW2VHOkQWP3UnBBTnvg1JEI7BAe3y8YW+C 5EPQmW0nn0ZzticMi15xXZmIa5Vj93Vr4xCC4/PPzDPmScQQyFXeZ+HGFZFKwcPo t4iq2f9EJO4O9ntaOV6IXDCTA9xVySdayE/3Ywrii3mgGpRXtbAnxPgz92+5lJ/Q Vfc9+rVgIztcSw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdekledgkedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeetlhihshhs rgcutfhoshhsuceohhhisegrlhihshhsrgdrihhsqeenucggtffrrghtthgvrhhnpefgfe dukedvleeileeludefveehgeelgfegvddujedvtdffueeuveffheeljeekvdenucfkphep geeirdektddrudefkedrjeefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepqhihlhhishhsseigvddvtddrqhihlhhishhsrdhnvght X-ME-Proxy: Received: from x220.qyliss.net (p2e508a49.dip0.t-ipconnect.de [46.80.138.73]) by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 29 May 2021 10:41:42 -0400 (EDT) Received: by x220.qyliss.net (Postfix, from userid 1000) id 601B118BB; Sat, 29 May 2021 14:41:39 +0000 (UTC) From: Alyssa Ross To: devel@spectrum-os.org Subject: [PATCH nixpkgs v2 5/8] chromiumOSPackages.common-mk: disable clang-only warnings Date: Sat, 29 May 2021 14:41:14 +0000 Message-Id: <20210529144117.571353-6-hi@alyssa.is> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210529144117.571353-1-hi@alyssa.is> References: <20210529144117.571353-1-hi@alyssa.is> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: ZWVR44XNB6IZL6AAAKUK53H7EG275QRM X-Message-ID-Hash: ZWVR44XNB6IZL6AAAKUK53H7EG275QRM X-MailFrom: qyliss@x220.qyliss.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Jamie McClymont X-Mailman-Version: 3.3.4 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Jamie McClymont Reviewed-by: Alyssa Ross Tested-by: Alyssa Ross --- pkgs/os-specific/linux/chromium-os/common-mk/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/chromium-os/common-mk/default.nix b/pkgs/os-specific/linux/chromium-os/common-mk/default.nix index cc72aab5d15..d617401138f 100644 --- a/pkgs/os-specific/linux/chromium-os/common-mk/default.nix +++ b/pkgs/os-specific/linux/chromium-os/common-mk/default.nix @@ -64,7 +64,11 @@ stdenv.mkDerivation ({ patchShebangs common-mk '' + (lib.optionalString (!stdenv.cc.isClang) '' substituteInPlace common-mk/BUILD.gn \ - --replace '"-Wno-c99-designator",' "" + --replace '"-Wno-c99-designator",' "" \ + --replace '"-Wstring-compare",' "" \ + --replace '"-Wstring-plus-int",' "" \ + --replace '"-Wxor-used-as-pow",' "" \ + --replace '"-Wunreachable-code-return",' "" '') + postPatch; nativeBuildInputs = [ gn pkgconfig python3 ninja ] ++ nativeBuildInputs; -- 2.31.1