diff options
author | Sam James <sam@gentoo.org> | 2023-05-07 16:48:53 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-05-07 16:59:20 +0100 |
commit | ed1ee24753a6a4da21f81cd1fd5f8fe6d255978d (patch) | |
tree | f75599d027df0e44125885f868371a4ead8eeab1 /eclass/flag-o-matic.eclass | |
parent | flag-o-matic.eclass: add -flto, -flto=* to ALLOWED_FLAGS (strip-flags whitelist) (diff) | |
download | gentoo-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/flag-o-matic.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 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 |