Pass "-isysroot" option down to clang.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49956 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/ccc b/utils/ccc
index 43093cb..6808122 100755
--- a/utils/ccc
+++ b/utils/ccc
@@ -112,7 +112,7 @@
compile_opts.append(arg)
# Options with one argument that should pass through
- if arg in ['-include']:
+ if arg in ['-include', '-isysroot']:
compile_opts.append(arg)
compile_opts.append(args[i+1])
i += 1
@@ -124,7 +124,7 @@
link_opts.append(arg)
# Options with one argument that should pass through
- if arg in ['-framework']:
+ if arg in ['-framework', '-isysroot']:
link_opts.append(arg)
link_opts.append(args[i+1])
i += 1