diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-01-12 22:19:59 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-01-12 22:19:59 +0000 |
commit | 1e0ead411bd1eca1b18e08684b79993e40dae1db (patch) | |
tree | c4a1825d3e7190809d717a0fbff16791c878fc38 /tools/ccc/ccclib/Tools.py | |
parent | 1261938ec42b0a1b82bec5fe901b7fc02a23d9a1 (diff) |
ccc: Bug fix, output can be NULL.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62108 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/ccc/ccclib/Tools.py')
-rw-r--r-- | tools/ccc/ccclib/Tools.py | 2 |
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: |