summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/flag-o-matic.eclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index bf4a8397c5d1..c0b042d5348d 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -134,6 +134,12 @@ _setup-allowed-flags() {
# binaries: bug #677852
-mstackrealign
)
+ ALLOWED_FLAGS+=(
+ # Clang-only
+ '--unwindlib=*'
+ '--rtlib=*'
+ '--stdlib=*'
+ )
}
# @FUNCTION: _filter-hardened