aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/ccc/ccclib/Tools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ccc/ccclib/Tools.py b/tools/ccc/ccclib/Tools.py
index 4156efa03b..7d8e2d82c1 100644
--- a/tools/ccc/ccclib/Tools.py
+++ b/tools/ccc/ccclib/Tools.py
@@ -395,7 +395,7 @@ class Darwin_X86_CompileTool(Tool):
# which doesn't introduce a dependency on the output argument
# we are given.
outputOpt = arglist.getLastArg(arglist.parser.oOption)
- if outputOpt is output:
+ if outputOpt and outputOpt is output:
cmd_args.append('-auxbase-strip')
cmd_args.append(arglist.getValue(outputOpt))
else: