From af3e7143d710606b9cf62249913df84d8c7e864f Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Mon, 21 Nov 2016 11:45:06 +0800 Subject: [PATCH] yasm-wrapper: translate "-isystem $1" to "-i $1" this silences the warning of: yasm: warning: can open only one input file, only the last file will be processed as yasm does not understand -isystem, but gcc does. Signed-off-by: Kefu Chai --- src/yasm-wrapper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yasm-wrapper b/src/yasm-wrapper index 7720c5cb56c..90bc449c56d 100755 --- a/src/yasm-wrapper +++ b/src/yasm-wrapper @@ -15,7 +15,7 @@ while [ -n "$*" ]; do -g* | -f* | -W* | -MD | -MP | -fPIC | -c | -D* | --param* | -O* | -m* | -pipe | ggc-min* ) shift ;; - -I ) + -I | -isystem ) shift new="$new -i $1" shift -- 2.47.3