diff options
author | Sam James <sam@gentoo.org> | 2022-01-18 16:50:23 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-01-22 22:18:54 +0000 |
commit | a5e21edfc41b5663110f0a6dddf38975038c7009 (patch) | |
tree | 0bd1194f74211d816b82a3e8e4d453eb3dd887ab /eclass/flag-o-matic.eclass | |
parent | flag-o-matic.eclass: allow -glldb (diff) | |
download | gentoo-a5e21edfc41b5663110f0a6dddf38975038c7009.tar.gz gentoo-a5e21edfc41b5663110f0a6dddf38975038c7009.tar.bz2 gentoo-a5e21edfc41b5663110f0a6dddf38975038c7009.zip |
flag-o-matic.eclass: allow -ffixed-x18 for arm64
Needed for shadow stack bits on ARM64.
Closes: https://bugs.gentoo.org/800533
Thanks-to: Jannik Glückert <jannik.glueckert@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/flag-o-matic.eclass')
-rw-r--r-- | eclass/flag-o-matic.eclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index a2e37b89b6f0..7ac4f4a7791d 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.eclass @@ -109,6 +109,9 @@ _setup-allowed-flags() { -mfix-rm7000 -mno-fix-rm7000 -mfix-r10000 -mno-fix-r10000 '-mr10k-cache-barrier=*' -mthumb -marm + # needed for arm64 (and in particular SCS) + -ffixed-x18 + # gcc 4.5 -mno-fma4 -mno-movbe -mno-xop -mno-lwp # gcc 4.6 |