Put extra flags at the end because some versions of gcc do not handle -l flags before the source file.

pull/300/head
Jussi Pakkanen 9 years ago
parent 336771f444
commit 2984d421b7
  1. 2
      compilers.py

@ -318,8 +318,8 @@ int someSymbolHereJustForFun;
def compile(self, code, srcname, extra_args=[]):
commands = self.get_exelist()
commands += extra_args
commands.append(srcname)
commands += extra_args
mlog.debug('Running compile:')
mlog.debug('Command line: ', ' '.join(commands))
mlog.debug('Code:\n', code)

Loading…
Cancel
Save