summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
Diffstat (limited to 'clang')
-rw-r--r--clang/tools/ccc/ccclib/Tools.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/tools/ccc/ccclib/Tools.py b/clang/tools/ccc/ccclib/Tools.py
index 56e2032ddbf..a548452eeb7 100644
--- a/clang/tools/ccc/ccclib/Tools.py
+++ b/clang/tools/ccc/ccclib/Tools.py
@@ -272,7 +272,8 @@ class Clang_CompileTool(Tool):
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')
OpenPOWER on IntegriCloud