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:
parent
336771f444
commit
2984d421b7
|
@ -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…
Reference in New Issue