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 | dd0efa8aad3373ba74d18ad7aac1bb9671bd4b60 (patch) | |
tree | 1381b40c7378c15db2f9eb9724519de5b634a648 | |
parent | 433a9086c0327fc87281b5c9de4960ea05b7a177 (diff) | |
download | bcm5719-llvm-dd0efa8aad3373ba74d18ad7aac1bb9671bd4b60.tar.gz bcm5719-llvm-dd0efa8aad3373ba74d18ad7aac1bb9671bd4b60.zip |
ccc: Bug fix, output can be NULL.
llvm-svn: 62108
-rw-r--r-- | clang/tools/ccc/ccclib/Tools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/ccc/ccclib/Tools.py b/clang/tools/ccc/ccclib/Tools.py index 4156efa03b4..7d8e2d82c10 100644 --- a/clang/tools/ccc/ccclib/Tools.py +++ b/clang/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: |