mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 14:06:58 +02:00
eclass/flag-o-matic: Sync with Gentoo
It's from Gentoo commit fb34618c547e61049007838d3ea7fa46055b0027.
This commit is contained in:
parent
5ec97a6227
commit
047d924e09
@ -20,7 +20,7 @@ _FLAG_O_MATIC_ECLASS=1
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
[[ ${EAPI} == 6 ]] && inherit eutils
|
||||
[[ ${EAPI} == 6 ]] && inherit eqawarn
|
||||
|
||||
# @FUNCTION: all-flag-vars
|
||||
# @DESCRIPTION:
|
||||
@ -81,6 +81,7 @@ _setup-allowed-flags() {
|
||||
-gstabs -gstabs+
|
||||
-gz
|
||||
-glldb
|
||||
'-fdebug-default-version=*'
|
||||
|
||||
# Cosmetic/output related, see e.g. bug #830534
|
||||
-fno-diagnostics-color '-fmessage-length=*'
|
||||
@ -115,6 +116,10 @@ _setup-allowed-flags() {
|
||||
-mlittle-endian -mbig-endian -EL -EB -fPIC -mlive-g0 '-mcmodel=*'
|
||||
-mstack-bias -mno-stack-bias -msecure-plt '-m*-toc' '-mfloat-abi=*'
|
||||
|
||||
# This is default on for a bunch of arches except amd64 in GCC
|
||||
# already, and amd64 itself is planned too.
|
||||
'-mtls-dialect=*'
|
||||
|
||||
# MIPS errata
|
||||
-mfix-24k -mno-fix-24k -mfix-r4000 -mno-fix-r4000
|
||||
-mfix-r4400 -mno-fix-r4400 -mfix-r5900 -mno-fix-r5900
|
||||
|
Loading…
Reference in New Issue
Block a user