eclass/flag-o-matic: Sync with Gentoo

It's from Gentoo commit 7b8bd09d4c674fdbf253b1997930ebcc2f958936.
This commit is contained in:
Flatcar Buildbot 2023-10-30 07:12:07 +00:00 committed by Krzesimir Nowak
parent d5145a3ee7
commit 57e132e859

View File

@ -57,8 +57,8 @@ _setup-allowed-flags() {
-fbounds-check -fbounds-checking -fbounds-check -fbounds-checking
-fno-PIE -fno-pie -nopie -no-pie -fno-PIE -fno-pie -nopie -no-pie
-fharden-compares -fharden-conditional-branches -fharden-compares -fharden-conditional-branches
-fharden-control-flow-redundancy -fhardcfr-skip-leaf -fharden-control-flow-redundancy -fno-harden-control-flow-redundancy
-fhardcfr-check-exceptions -fhardcfr-check-returning-calls -fhardcfr-skip-leaf -fhardcfr-check-exceptions -fhardcfr-check-returning-calls
'-fhardcfr-check-noreturn-calls=*' '-fhardcfr-check-noreturn-calls=*'
# Spectre mitigations, bug #646076 # Spectre mitigations, bug #646076
'-mindirect-branch=*' '-mindirect-branch=*'