eclass/flag-o-matic: Sync with Gentoo

It's from Gentoo commit 914fa2ab19a1a8313a05b657e09bc29ec61230a3.
This commit is contained in:
Flatcar Buildbot 2025-02-10 07:08:08 +00:00
parent 684ba2c2a0
commit 7781349adc

View File

@ -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 # Distributed under the terms of the GNU General Public License v2
# @ECLASS: flag-o-matic.eclass # @ECLASS: flag-o-matic.eclass
@ -201,7 +201,7 @@ _filter-hardened() {
continue continue
fi 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) -fno-strict-overflow)
gcc-specs-nostrict || continue gcc-specs-nostrict || continue