diff options
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/Manifest.gz | bin | 39144 -> 39148 bytes | |||
-rw-r--r-- | eclass/flag-o-matic.eclass | 8 |
2 files changed, 8 insertions, 0 deletions
diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz Binary files differindex 50d635968be7..3d8a2ff4048e 100644 --- a/eclass/Manifest.gz +++ b/eclass/Manifest.gz diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index b4c27bf89d92..c0b042d5348d 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.eclass @@ -61,6 +61,7 @@ _setup-allowed-flags() { -mindirect-branch-register '-mfunction-return=*' -mretpoline + '-mbranch-protection=*' # Misc -fno-unit-at-a-time -fno-strict-overflow @@ -95,6 +96,7 @@ _setup-allowed-flags() { '-fno-stack-protector*' '-fabi-version=*' -fno-strict-aliasing -fno-bounds-check -fno-bounds-checking -fstrict-overflow -fno-omit-frame-pointer '-fno-builtin*' + -mno-omit-leaf-frame-pointer ) ALLOWED_FLAGS+=( '-mregparm=*' -mno-app-regs -mapp-regs -mno-mmx -mno-sse @@ -132,6 +134,12 @@ _setup-allowed-flags() { # binaries: bug #677852 -mstackrealign ) + ALLOWED_FLAGS+=( + # Clang-only + '--unwindlib=*' + '--rtlib=*' + '--stdlib=*' + ) } # @FUNCTION: _filter-hardened |