aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutils/ccc4
-rwxr-xr-xutils/ccc-analyzer6
2 files changed, 5 insertions, 5 deletions
diff --git a/utils/ccc b/utils/ccc
index 43093cb441..68081222a8 100755
--- a/utils/ccc
+++ b/utils/ccc
@@ -112,7 +112,7 @@ def main(args):
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 @@ def main(args):
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
diff --git a/utils/ccc-analyzer b/utils/ccc-analyzer
index f4b4861db4..a4a4efdf54 100755
--- a/utils/ccc-analyzer
+++ b/utils/ccc-analyzer
@@ -37,7 +37,7 @@ def run(args):
if code:
sys.exit(code)
-def compile(args):
+def compile(args,verbose):
# We MUST print to stderr. Some clients use the stdout output of
# gcc for various purposes.
print >> sys.stderr, '\n'
@@ -175,7 +175,7 @@ def main(args):
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
@@ -187,7 +187,7 @@ def main(args):
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