forked from OSchip/llvm-project
llvm-ld doesnt support '-g', so aovid passing that opt to it
llvm-svn: 60428
This commit is contained in:
parent
0629704e78
commit
48b5a33826
|
@ -259,7 +259,6 @@ def main(args):
|
|||
# wrong.
|
||||
if arg in ('-g', '-gdwarf-2'):
|
||||
compile_opts.append('-g')
|
||||
link_opts.append(arg)
|
||||
|
||||
# Options with one argument that should pass through to compiler
|
||||
if arg in [ '-include', '-idirafter', '-iprefix',
|
||||
|
|
Loading…
Reference in New Issue