ccc: Pass --relocation-model as separate arguments (to match Driver).

llvm-svn: 67190
This commit is contained in:
Daniel Dunbar 2009-03-18 09:36:19 +00:00
parent 7591f29f7c
commit d72468a61b
1 changed files with 2 additions and 1 deletions

View File

@ -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')