commit:     d5568f773d763bcfcaa50577553a3721c7b9eb83
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 17 03:20:57 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 18 01:30:39 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5568f77

flag-o-matic.eclass: recognize -fstack-protector-strong in _filter-hardened

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 7ea29334bba8..70d39d034388 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -162,8 +162,8 @@ _filter-hardened() {
                                fi
                                ;;
 
-                       -fstack-protector)
-                               if ! gcc-specs-ssp && ! tc-enables-ssp ; then
+                       -fstack-protector|-fstack-protector-strong)
+                               if ! gcc-specs-ssp && ! tc-enables-ssp && ! 
tc-enables-ssp-strong ; then
                                        continue
                                fi
 

Reply via email to