llvm-ld doesnt support '-g', so aovid passing that opt to it

llvm-svn: 60428
This commit is contained in:
Nuno Lopes 2008-12-02 18:19:03 +00:00
parent 0629704e78
commit 48b5a33826
1 changed files with 0 additions and 1 deletions

View File

@ -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',