From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D3FF5158089 for ; Thu, 5 Oct 2023 11:12:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C4E72BC07A; Thu, 5 Oct 2023 11:12:44 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 010D22BC07A for ; Thu, 5 Oct 2023 11:12:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F1592335C7A for ; Thu, 5 Oct 2023 11:12:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5C78F9B6 for ; Thu, 5 Oct 2023 11:12:41 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1696504349.cc7061ee5e3bfd1a7a1bcbdc44f1bd1d69fda495.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/flag-o-matic.eclass X-VCS-Directories: eclass/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: cc7061ee5e3bfd1a7a1bcbdc44f1bd1d69fda495 X-VCS-Branch: master Date: Thu, 5 Oct 2023 11:12:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5e2e319a-295e-4cf7-8e4b-34a5d23f34f5 X-Archives-Hash: 5157b1230a1453b8ba5d2c0fd3cab615 commit: cc7061ee5e3bfd1a7a1bcbdc44f1bd1d69fda495 Author: Sam James gentoo org> AuthorDate: Thu Oct 5 11:11:10 2023 +0000 Commit: Sam James gentoo org> CommitDate: Thu Oct 5 11:12:29 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc7061ee flag-o-matic.eclass: allow --unwindlib/--rtlib/--stdlib too We may want to gate these just for Clang but they (at least --stdlib) affect ABI so we shouldn't be filtering these. Signed-off-by: Sam James gentoo.org> eclass/flag-o-matic.eclass | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index bf4a8397c5d1..c0b042d5348d 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.eclass @@ -134,6 +134,12 @@ _setup-allowed-flags() { # binaries: bug #677852 -mstackrealign ) + ALLOWED_FLAGS+=( + # Clang-only + '--unwindlib=*' + '--rtlib=*' + '--stdlib=*' + ) } # @FUNCTION: _filter-hardened