Skip to content

Commit

Permalink
flag-o-matic.eclass: allow --unwindlib/--rtlib/--stdlib too
Browse files Browse the repository at this point in the history
We may want to gate these just for Clang but they (at least --stdlib) affect
ABI so we shouldn't be filtering these.

Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Oct 5, 2023
1 parent 6510a70 commit cc7061e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions eclass/flag-o-matic.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ _setup-allowed-flags() {
# binaries: bug #677852
-mstackrealign
)
ALLOWED_FLAGS+=(
# Clang-only
'--unwindlib=*'
'--rtlib=*'
'--stdlib=*'
)
}

# @FUNCTION: _filter-hardened
Expand Down

0 comments on commit cc7061e

Please sign in to comment.