Strip -isysroot and related flags from asm-filter

This helps python-isal compatibility.

Change-Id: I8a2540e330f229f65903bdb2cc47aceeb0724dc5
Signed-off-by: Taiju Yamada <tyamada@bi.a.u-tokyo.ac.jp>
This commit is contained in:
Taiju Yamada 2021-09-11 03:00:31 +09:00 committed by Greg Tucker
parent 066940a9a7
commit 998e03bf95
4 changed files with 20 additions and 0 deletions

View File

@ -22,6 +22,11 @@ while [ -n "$*" ]; do
shift
shift
;;
-isysroot | -iframeworkwithsysroot | -iwithsysroot | -framework )
# Unsupported options with arg
shift
shift
;;
--prefix* )
# Supported options without arg
options="$options $1"

View File

@ -15,6 +15,11 @@ while [ -n "$*" ]; do
shift
shift
;;
-isysroot | -iframeworkwithsysroot | -iwithsysroot | -framework )
# Unsupported options with arg
shift
shift
;;
--prefix* )
# Supported options without arg
options="$options $1"

View File

@ -17,6 +17,11 @@ while [ -n "$*" ]; do
shift
shift
;;
-isysroot | -iframeworkwithsysroot | -iwithsysroot | -framework )
# Unsupported options with arg
shift
shift
;;
-I* | -i* | --prefix* )
# Supported options without arg
options="$options $1"

View File

@ -10,6 +10,11 @@ while [ -n "$*" ]; do
shift
shift
;;
-isysroot | -iframeworkwithsysroot | -iwithsysroot | -framework )
# Unsupported options with arg
shift
shift
;;
-I* | -i* | --prefix* )
# Supported options without arg
options="$options $1"