Skip to content
Snippets Groups Projects
Commit 4f3d7cd1 authored by Ted Kremenek's avatar Ted Kremenek
Browse files

Add missing "-" that prefix arguments to forward to clang.

llvm-svn: 50540
parent 694dda1e
No related branches found
No related tags found
No related merge requests found
...@@ -184,11 +184,11 @@ def main(args): ...@@ -184,11 +184,11 @@ def main(args):
i += 1 i += 1
# Options with no argument that should pass through to compiler # Options with no argument that should pass through to compiler
if arg in [ '-nostdinc', 'fobjc-gc-only', 'fobjc-gc' ]: if arg in [ '-nostdinc', '-fobjc-gc-only', '-fobjc-gc' ]:
compile_opts.append(arg) compile_opts.append(arg)
# Options with one argument that should pass through to linker # Options with one argument that should pass through to linker
if arg == 'framework': if arg == '-framework':
link_opts.append(arg) link_opts.append(arg)
link_opts.append(args[i+1]) link_opts.append(args[i+1])
i += 1 i += 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment