From: Daniel Dunbar Date: Wed, 18 Mar 2009 09:36:19 +0000 (+0000) Subject: ccc: Pass --relocation-model as separate arguments (to match Driver). X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5f635e6b7631e82af847713726e8fb3e7772ed4d;p=clang 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 56e2032ddb..a548452eeb 100644 --- a/tools/ccc/ccclib/Tools.py +++ b/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')