From: Daniel Dunbar Date: Tue, 18 Nov 2008 17:38:30 +0000 (+0000) Subject: Input files should be before link options. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1b6ff6fdd16e3cb018e2cac01145ed1ff0e09ff4;p=clang Input files should be before link options. - PR3094. - No test case, ccc is not really a supported product (llvmc2 already got this right). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59535 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/ccc b/utils/ccc index 96548553ea..1a7fea415a 100755 --- a/utils/ccc +++ b/utils/ccc @@ -407,7 +407,7 @@ def main(args): files[i] = out if not output: output = 'a.out' - args = ['-o', output] + link_opts + files + args = ['-o', output] + files + link_opts link(args, native) if __name__ == '__main__':