commit: ed1ee24753a6a4da21f81cd1fd5f8fe6d255978d Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun May 7 15:48:53 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun May 7 15:59:20 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed1ee247
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 <AT> gentoo.org> eclass/flag-o-matic.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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