Author: nlopes
Date: Tue Dec  2 12:19:03 2008
New Revision: 60428

URL: http://llvm.org/viewvc/llvm-project?rev=60428&view=rev
Log:
llvm-ld doesnt support '-g', so aovid passing that opt to it

Modified:
    cfe/trunk/utils/ccc

Modified: cfe/trunk/utils/ccc
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ccc?rev=60428&r1=60427&r2=60428&view=diff

==============================================================================
--- cfe/trunk/utils/ccc (original)
+++ cfe/trunk/utils/ccc Tue Dec  2 12:19:03 2008
@@ -259,7 +259,6 @@
         # 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',


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to