Skip to content

Commit 998e03b

Browse files
cielavenirgbtucker
authored andcommitted
Strip -isysroot and related flags from asm-filter
This helps python-isal compatibility. Change-Id: I8a2540e330f229f65903bdb2cc47aceeb0724dc5 Signed-off-by: Taiju Yamada <[email protected]>
1 parent 066940a commit 998e03b

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

tools/nasm-cet-filter.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ while [ -n "$*" ]; do
2222
shift
2323
shift
2424
;;
25+
-isysroot | -iframeworkwithsysroot | -iwithsysroot | -framework )
26+
# Unsupported options with arg
27+
shift
28+
shift
29+
;;
2530
--prefix* )
2631
# Supported options without arg
2732
options="$options $1"

tools/nasm-filter.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ while [ -n "$*" ]; do
1515
shift
1616
shift
1717
;;
18+
-isysroot | -iframeworkwithsysroot | -iwithsysroot | -framework )
19+
# Unsupported options with arg
20+
shift
21+
shift
22+
;;
1823
--prefix* )
1924
# Supported options without arg
2025
options="$options $1"

tools/yasm-cet-filter.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ while [ -n "$*" ]; do
1717
shift
1818
shift
1919
;;
20+
-isysroot | -iframeworkwithsysroot | -iwithsysroot | -framework )
21+
# Unsupported options with arg
22+
shift
23+
shift
24+
;;
2025
-I* | -i* | --prefix* )
2126
# Supported options without arg
2227
options="$options $1"

tools/yasm-filter.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ while [ -n "$*" ]; do
1010
shift
1111
shift
1212
;;
13+
-isysroot | -iframeworkwithsysroot | -iwithsysroot | -framework )
14+
# Unsupported options with arg
15+
shift
16+
shift
17+
;;
1318
-I* | -i* | --prefix* )
1419
# Supported options without arg
1520
options="$options $1"

0 commit comments

Comments
 (0)