Merge pull request #133 from MathieuDuponchelle/no_pedantic

backends: Add extra args after compiler.std_warn_args.
pull/139/head
jpakkane 10 years ago
commit b896af9c5f
  1. 1
      authors.txt
  2. 2
      backends.py

@ -16,3 +16,4 @@ mfrischknecht
Matthew Bekkema Matthew Bekkema
Afief Halumi Afief Halumi
Thibault Saunier Thibault Saunier
Mathieu Duponchelle

@ -196,9 +196,9 @@ class Backend():
commands += compiler.get_always_args() commands += compiler.get_always_args()
commands += self.build.get_global_args(compiler) commands += self.build.get_global_args(compiler)
commands += self.environment.coredata.external_args[compiler.get_language()] commands += self.environment.coredata.external_args[compiler.get_language()]
commands += target.get_extra_args(compiler.get_language())
if self.environment.coredata.buildtype != 'plain': if self.environment.coredata.buildtype != 'plain':
commands += compiler.get_std_warn_args() commands += compiler.get_std_warn_args()
commands += target.get_extra_args(compiler.get_language())
commands += compiler.get_buildtype_args(self.environment.coredata.buildtype) commands += compiler.get_buildtype_args(self.environment.coredata.buildtype)
if self.environment.coredata.coverage: if self.environment.coredata.coverage:
commands += compiler.get_coverage_args() commands += compiler.get_coverage_args()

Loading…
Cancel
Save