[cfe-commits] r60428 - /cfe/trunk/utils/ccc

Nuno Lopes nunoplopes at sapo.pt
Tue Dec 2 10:19:06 PST 2008


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





More information about the cfe-commits mailing list