summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-05-07 16:48:53 +0100
committerSam James <sam@gentoo.org>2023-05-07 16:59:20 +0100
commited1ee24753a6a4da21f81cd1fd5f8fe6d255978d (patch)
treef75599d027df0e44125885f868371a4ead8eeab1 /eclass
parentflag-o-matic.eclass: add -flto, -flto=* to ALLOWED_FLAGS (strip-flags whitelist) (diff)
downloadgentoo-ed1ee24753a6a4da21f81cd1fd5f8fe6d255978d.tar.gz
gentoo-ed1ee24753a6a4da21f81cd1fd5f8fe6d255978d.tar.bz2
gentoo-ed1ee24753a6a4da21f81cd1fd5f8fe6d255978d.zip
flag-o-matic.eclass: add -Oz to ALLOWED_FLAGS (strip-flags whitelist)
We already allow -Os and -Oz is just a more aggressive version of that. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/flag-o-matic.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index 201b033df279..ff0fa09ed152 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -47,7 +47,7 @@ setup-allowed-flags() {
# Note: shell globs and character lists are allowed
_setup-allowed-flags() {
ALLOWED_FLAGS=(
- -pipe -O '-O[123sg]' '-mcpu=*' '-march=*' '-mtune=*'
+ -pipe -O '-O[123szg]' '-mcpu=*' '-march=*' '-mtune=*'
-flto '-flto=*'
# Hardening flags