diff options
author | Sam James <sam@gentoo.org> | 2023-05-07 17:02:52 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-05-07 17:02:52 +0100 |
commit | b5a4bfb180d002c29b35bfc267e47857ba481fb8 (patch) | |
tree | 3d26b3bd16a22c25746d27b5b81ad7f99df9aa1a /eclass | |
parent | sys-libs/glibc: add explicit filter-lto post-strip-flags change (diff) | |
download | gentoo-b5a4bfb180d002c29b35bfc267e47857ba481fb8.tar.gz gentoo-b5a4bfb180d002c29b35bfc267e47857ba481fb8.tar.bz2 gentoo-b5a4bfb180d002c29b35bfc267e47857ba481fb8.zip |
flag-o-matic.eclass: allow -fno-lto too in strip-flags
Ionen rightly points out that people might have -flto by default and
-fno-lto in package.env.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/flag-o-matic.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index ff0fa09ed152..bef3abf69dde 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.eclass @@ -48,7 +48,7 @@ setup-allowed-flags() { _setup-allowed-flags() { ALLOWED_FLAGS=( -pipe -O '-O[123szg]' '-mcpu=*' '-march=*' '-mtune=*' - -flto '-flto=*' + -flto '-flto=*' -fno-lto # Hardening flags '-fstack-protector*' |