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

This commit is contained in:
Jussi Pakkanen 2015-10-27 23:58:41 +02:00
parent 336771f444
commit 2984d421b7
1 changed files with 1 additions and 1 deletions

View File

@ -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)