ccc: Pass --relocation-model as separate arguments (to match Driver).
llvm-svn: 67190
This commit is contained in:
parent
7591f29f7c
commit
d72468a61b
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue