ccc: Pass --relocation-model as separate arguments (to match Driver).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67190 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/ccc/ccclib/Tools.py b/tools/ccc/ccclib/Tools.py
index 56e2032..a548452 100644
--- a/tools/ccc/ccclib/Tools.py
+++ b/tools/ccc/ccclib/Tools.py
@@ -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')