From: Kefu Chai Date: Mon, 21 Nov 2016 03:45:06 +0000 (+0800) Subject: yasm-wrapper: translate "-isystem $1" to "-i $1" X-Git-Tag: v11.1.0~225^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F12093%2Fhead;p=ceph.git 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 --- 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