Input files should be before link options.

- PR3094.
 - No test case, ccc is not really a supported product (llvmc2 already
   got this right).

llvm-svn: 59535
This commit is contained in:
Daniel Dunbar 2008-11-18 17:38:30 +00:00
parent 1403f404da
commit ad90855730
1 changed files with 1 additions and 1 deletions

View File

@ -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__':