aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-11-18 17:38:30 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-11-18 17:38:30 +0000
commit1b6ff6fdd16e3cb018e2cac01145ed1ff0e09ff4 (patch)
tree443698dbe33c6a7e2f58f6a9a5f848815ccc5950
parent0301c74568441f28a5a9514a246b2adfb49191b7 (diff)
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
-rwxr-xr-xutils/ccc2
1 files changed, 1 insertions, 1 deletions
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__':