[cfe-commits] r67190 - /cfe/trunk/tools/ccc/ccclib/Tools.py

Daniel Dunbar daniel at zuster.org
Wed Mar 18 02:36:46 PDT 2009


Author: ddunbar
Date: Wed Mar 18 04:36:19 2009
New Revision: 67190

URL: http://llvm.org/viewvc/llvm-project?rev=67190&view=rev
Log:
ccc: Pass --relocation-model as separate arguments (to match Driver).

Modified:
    cfe/trunk/tools/ccc/ccclib/Tools.py

Modified: cfe/trunk/tools/ccc/ccclib/Tools.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/ccc/ccclib/Tools.py?rev=67190&r1=67189&r2=67190&view=diff

==============================================================================
--- cfe/trunk/tools/ccc/ccclib/Tools.py (original)
+++ cfe/trunk/tools/ccc/ccclib/Tools.py Wed Mar 18 04:36:19 2009
@@ -272,7 +272,8 @@
                     model = 'pic'
                 else:
                     model = self.toolChain.getDefaultRelocationModel()
-            cmd_args.append('--relocation-model=%s' % model)
+            cmd_args.append('--relocation-model')
+            cmd_args.append(model)
 
             if arglist.getLastArg(arglist.parser.f_timeReportOption):
                 cmd_args.append('--time-passes')





More information about the cfe-commits mailing list