aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--authors.txt1
-rw-r--r--backends.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/authors.txt b/authors.txt
index b3f0ddc..1bbc557 100644
--- a/authors.txt
+++ b/authors.txt
@@ -16,3 +16,4 @@ mfrischknecht
Matthew Bekkema
Afief Halumi
Thibault Saunier
+Mathieu Duponchelle
diff --git a/backends.py b/backends.py
index 88f144d..c4ee0bb 100644
--- a/backends.py
+++ b/backends.py
@@ -196,9 +196,9 @@ class Backend():
commands += compiler.get_always_args()
commands += self.build.get_global_args(compiler)
commands += self.environment.coredata.external_args[compiler.get_language()]
- commands += target.get_extra_args(compiler.get_language())
if self.environment.coredata.buildtype != 'plain':
commands += compiler.get_std_warn_args()
+ commands += target.get_extra_args(compiler.get_language())
commands += compiler.get_buildtype_args(self.environment.coredata.buildtype)
if self.environment.coredata.coverage:
commands += compiler.get_coverage_args()