From 914fa2ab19a1a8313a05b657e09bc29ec61230a3 Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 28 Jan 2025 07:19:22 +0000 Subject: [PATCH] flag-o-matic.eclass: fix negation of -fstack-protector-all Closes: https://bugs.gentoo.org/943761 Signed-off-by: Sam James --- 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 3e67e3b4c11ff..9590192bb1f41 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: flag-o-matic.eclass @@ -201,7 +201,7 @@ _filter-hardened() { continue fi - is-flagq -fno-stack-protector-all || append-flags $(test-flags -fno-stack-protector-all) + is-flagq -fno-stack-protector || append-flags $(test-flags -fno-stack-protector) ;; -fno-strict-overflow) gcc-specs-nostrict || continue