commit:     914fa2ab19a1a8313a05b657e09bc29ec61230a3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 28 07:19:22 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 28 07:19:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=914fa2ab

flag-o-matic.eclass: fix negation of -fstack-protector-all

Closes: https://bugs.gentoo.org/943761
Signed-off-by: Sam James <sam <AT> 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 3e67e3b4c11f..9590192bb1f4 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

Reply via email to