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 C1B5D158089 for ; Thu, 26 Oct 2023 21:55:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DF7EE2BC090; Thu, 26 Oct 2023 21:55:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 C381A2BC090 for ; Thu, 26 Oct 2023 21:55:02 +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 EC104335C2E for ; Thu, 26 Oct 2023 21:55:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2327E12A7 for ; Thu, 26 Oct 2023 21:55:00 +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: <1698357294.7b8bd09d4c674fdbf253b1997930ebcc2f958936.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: 7b8bd09d4c674fdbf253b1997930ebcc2f958936 X-VCS-Branch: master Date: Thu, 26 Oct 2023 21:55:00 +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: 7e091306-78a6-407f-8d0b-245157d6cf6f X-Archives-Hash: 0d5ba2776a2a033fac96713b85019fa8 commit: 7b8bd09d4c674fdbf253b1997930ebcc2f958936 Author: Sam James gentoo org> AuthorDate: Thu Oct 26 21:54:43 2023 +0000 Commit: Sam James gentoo org> CommitDate: Thu Oct 26 21:54:54 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b8bd09d flag-o-matic.eclass: allow -fno-harden-control-flow-redundancy too Signed-off-by: Sam James gentoo.org> eclass/flag-o-matic.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index 382573b80679..58a14178f38a 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.eclass @@ -57,8 +57,8 @@ _setup-allowed-flags() { -fbounds-check -fbounds-checking -fno-PIE -fno-pie -nopie -no-pie -fharden-compares -fharden-conditional-branches - -fharden-control-flow-redundancy -fhardcfr-skip-leaf - -fhardcfr-check-exceptions -fhardcfr-check-returning-calls + -fharden-control-flow-redundancy -fno-harden-control-flow-redundancy + -fhardcfr-skip-leaf -fhardcfr-check-exceptions -fhardcfr-check-returning-calls '-fhardcfr-check-noreturn-calls=*' # Spectre mitigations, bug #646076 '-mindirect-branch=*'