eclass/flag-o-matic: Sync with Gentoo

It's from Gentoo commit 21e8df74b41639435192141d14f9f071232290ef.
This commit is contained in:
Flatcar Buildbot 2024-01-29 07:12:51 +00:00 committed by Krzesimir Nowak
parent 8ff7f4b0a5
commit c8bc0f48e9

View File

@ -90,7 +90,7 @@ _setup-allowed-flags() {
'-fdiagnostics*' '-fplugin*'
'-W*' -w
# CPPFLAGS and LDFLAGS (TODO: Allow -Wa,*?)
# CPPFLAGS and LDFLAGS
'-[DUILR]*' '-Wl,*'
# Linker choice flag
@ -124,10 +124,7 @@ _setup-allowed-flags() {
-mfix-24k -mno-fix-24k -mfix-r4000 -mno-fix-r4000
-mfix-r4400 -mno-fix-r4400 -mfix-r5900 -mno-fix-r5900
-mfix-rm7000 -mno-fix-rm7000 -mfix-r9500 -mno-fix-r9500
-mfix-r10000 -mno-fix-r10000 -mfix-vr4120 -mno-fix-vr4120
-mfix-vr4130 -mfix-sb1 -mno-fix-sb1
'-Wa,-mfix-loongson2f-nop'
-mfix-r10000 -mno-fix-r10000
'-mr10k-cache-barrier=*' -mthumb -marm
# needed for arm64 (and in particular SCS)