diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-10-27 23:58:41 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-10-27 23:58:41 +0200 |
commit | 2984d421b718d3422e2f302643f6016eae5a60ff (patch) | |
tree | a3fae5cf671ac9e3e24721a5d691cf4d026aeee8 /compilers.py | |
parent | 336771f4442afe2398b64a6f4c4551f76b664596 (diff) | |
download | meson-2984d421b718d3422e2f302643f6016eae5a60ff.zip meson-2984d421b718d3422e2f302643f6016eae5a60ff.tar.gz meson-2984d421b718d3422e2f302643f6016eae5a60ff.tar.bz2 |
Put extra flags at the end because some versions of gcc do not handle -l flags before the source file.
Diffstat (limited to 'compilers.py')
-rw-r--r-- | compilers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilers.py b/compilers.py index 06f559e..85b57b3 100644 --- a/compilers.py +++ b/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) |