summaryrefslogtreecommitdiffstats
path: root/clang/utils/ccc
diff options
context:
space:
mode:
Diffstat (limited to 'clang/utils/ccc')
-rwxr-xr-xclang/utils/ccc2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/utils/ccc b/clang/utils/ccc
index 96548553eab..1a7fea415a4 100755
--- a/clang/utils/ccc
+++ b/clang/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__':
OpenPOWER on IntegriCloud