mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
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>
This commit is contained in:
@@ -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*'
|
||||
|
||||
Reference in New Issue
Block a user