]> granicus.if.org Git - clang/commitdiff
llvm-ld doesnt support '-g', so aovid passing that opt to it
authorNuno Lopes <nunoplopes@sapo.pt>
Tue, 2 Dec 2008 18:19:03 +0000 (18:19 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Tue, 2 Dec 2008 18:19:03 +0000 (18:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60428 91177308-0d34-0410-b5e6-96231b3b80d8

utils/ccc

index 1a7fea415a4a73dca1e525d8aef78a37aa2eb132..6e423691ecda557e293833ff8fc2d704c07dfbd3 100755 (executable)
--- a/utils/ccc
+++ b/utils/ccc
@@ -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',