eclass/flag-o-matic: Sync with Gentoo

It's from Gentoo commit 2baeb8c8987f9214080ce2a8c94c0e93ee7af217.
This commit is contained in:
Flatcar Buildbot 2024-07-16 11:20:56 +00:00 committed by Mathieu Tortuyaux
parent 44fbd3f2c7
commit 19eb78354a
No known key found for this signature in database
GPG Key ID: AC5CCFB52545D9B8

View File

@ -129,6 +129,10 @@ _setup-allowed-flags() {
# needed for arm64 (and in particular SCS)
-ffixed-x18
# needed for riscv (to prevent unaligned vector access)
# See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115789
-mstrict-align -mvector-strict-align
# gcc 4.5
-mno-fma4 -mno-movbe -mno-xop -mno-lwp
# gcc 4.6