mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-10 14:36: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
|
inherit toolchain-funcs
|
||||||
|
|
||||||
[[ ${EAPI} == 6 ]] && inherit eutils
|
[[ ${EAPI} == 6 ]] && inherit eqawarn
|
||||||
|
|
||||||
# @FUNCTION: all-flag-vars
|
# @FUNCTION: all-flag-vars
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
@ -81,6 +81,7 @@ _setup-allowed-flags() {
|
|||||||
-gstabs -gstabs+
|
-gstabs -gstabs+
|
||||||
-gz
|
-gz
|
||||||
-glldb
|
-glldb
|
||||||
|
'-fdebug-default-version=*'
|
||||||
|
|
||||||
# Cosmetic/output related, see e.g. bug #830534
|
# Cosmetic/output related, see e.g. bug #830534
|
||||||
-fno-diagnostics-color '-fmessage-length=*'
|
-fno-diagnostics-color '-fmessage-length=*'
|
||||||
@ -115,6 +116,10 @@ _setup-allowed-flags() {
|
|||||||
-mlittle-endian -mbig-endian -EL -EB -fPIC -mlive-g0 '-mcmodel=*'
|
-mlittle-endian -mbig-endian -EL -EB -fPIC -mlive-g0 '-mcmodel=*'
|
||||||
-mstack-bias -mno-stack-bias -msecure-plt '-m*-toc' '-mfloat-abi=*'
|
-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
|
# MIPS errata
|
||||||
-mfix-24k -mno-fix-24k -mfix-r4000 -mno-fix-r4000
|
-mfix-24k -mno-fix-24k -mfix-r4000 -mno-fix-r4000
|
||||||
-mfix-r4400 -mno-fix-r4400 -mfix-r5900 -mno-fix-r5900
|
-mfix-r4400 -mno-fix-r4400 -mfix-r5900 -mno-fix-r5900
|
||||||
|
Loading…
Reference in New Issue
Block a user