eclass/flag-o-matic: Sync with Gentoo

It's from Gentoo commit a13d692939efda7afb29c1d8a2cb1d5717972b89.
This commit is contained in:
Flatcar Buildbot 2025-06-16 07:10:04 +00:00 committed by Krzesimir Nowak
parent 905bf2dfb5
commit 8c08442f0d

View File

@ -46,7 +46,7 @@ setup-allowed-flags() {
_setup-allowed-flags() { _setup-allowed-flags() {
ALLOWED_FLAGS=( ALLOWED_FLAGS=(
-pipe -O '-O[123szg]' '-mcpu=*' '-march=*' '-mtune=*' '-mfpmath=*' -pipe -O '-O[123szg]' '-mcpu=*' '-march=*' '-mtune=*' '-mfpmath=*'
-flto '-flto=*' -fno-lto -flto '-flto=*' -fno-lto -ffat-lto-objects
# Hardening flags # Hardening flags
'-fstack-protector*' '-fstack-protector*'