* [gentoo-dev] [PATCH] flag-o-matic.eclass: add -Oz to ALLOWED_FLAGS (strip-flags whitelist)
@ 2023-05-07 15:49 Sam James
0 siblings, 0 replies; only message in thread
From: Sam James @ 2023-05-07 15:49 UTC (permalink / raw
To: gentoo-dev; +Cc: toolchain, Sam James
We already allow -Os and -Oz is just a more aggressive version of that.
Signed-off-by: Sam James <sam@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
--
2.40.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-05-07 15:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-07 15:49 [gentoo-dev] [PATCH] flag-o-matic.eclass: add -Oz to ALLOWED_FLAGS (strip-flags whitelist) Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox