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
Afief Halumi
Thibault Saunier
Mathieu Duponchelle

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

Loading…
Cancel
Save