diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-21 22:01:02 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-21 22:01:02 +0100 |
commit | 5b4f35741ef91e9b4a33e2bcc60f209927c6cc5d (patch) | |
tree | 50e96933fe16359ee4b5174ecb023721876f47f9 /eclass | |
parent | b80ebc4dea5609f6644d0d64c5ace579df314923 (diff) |
gentoo auto-resync : 21:10:2023 - 22:01:01
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/Manifest.gz | bin | 39132 -> 39130 bytes | |||
-rw-r--r-- | eclass/flag-o-matic.eclass | 9 |
2 files changed, 8 insertions, 1 deletions
diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz Binary files differindex 79ab68dd80a6..bccf3792551c 100644 --- a/eclass/Manifest.gz +++ b/eclass/Manifest.gz diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index c0b042d5348d..382573b80679 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.eclass @@ -47,7 +47,7 @@ setup-allowed-flags() { # Note: shell globs and character lists are allowed _setup-allowed-flags() { ALLOWED_FLAGS=( - -pipe -O '-O[123szg]' '-mcpu=*' '-march=*' '-mtune=*' + -pipe -O '-O[123szg]' '-mcpu=*' '-march=*' '-mtune=*' '-mfpmath=*' -flto '-flto=*' -fno-lto # Hardening flags @@ -56,11 +56,16 @@ _setup-allowed-flags() { '-fcf-protection=*' -fbounds-check -fbounds-checking -fno-PIE -fno-pie -nopie -no-pie + -fharden-compares -fharden-conditional-branches + -fharden-control-flow-redundancy -fhardcfr-skip-leaf + -fhardcfr-check-exceptions -fhardcfr-check-returning-calls + '-fhardcfr-check-noreturn-calls=*' # Spectre mitigations, bug #646076 '-mindirect-branch=*' -mindirect-branch-register '-mfunction-return=*' -mretpoline + '-mharden-sls=*' '-mbranch-protection=*' # Misc @@ -133,6 +138,8 @@ _setup-allowed-flags() { # Allow explicit stack realignment to run non-conformant # binaries: bug #677852 -mstackrealign + '-mpreferred-stack-boundary=*' + '-mincoming-stack-boundary=*' ) ALLOWED_FLAGS+=( # Clang-only |