aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/ninjabackend.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-03-21 21:26:16 +0200
committerGitHub <noreply@github.com>2018-03-21 21:26:16 +0200
commit12bac512f6497e46ada8ed980cbcb1631506691c (patch)
tree1dfac37976c17672df41f83f3bf6562f2f92e25f /mesonbuild/backend/ninjabackend.py
parent30827b5644b00aa01c14a116a0c8fec72e63592e (diff)
parent6910f604ed60ffc5da37b86c4ab6d3f2da618c60 (diff)
downloadmeson-12bac512f6497e46ada8ed980cbcb1631506691c.zip
meson-12bac512f6497e46ada8ed980cbcb1631506691c.tar.gz
meson-12bac512f6497e46ada8ed980cbcb1631506691c.tar.bz2
Fix b_ndebug=if-release silently not working
Diffstat (limited to 'mesonbuild/backend/ninjabackend.py')
-rw-r--r--mesonbuild/backend/ninjabackend.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py
index f0ea09b..39e4ce9 100644
--- a/mesonbuild/backend/ninjabackend.py
+++ b/mesonbuild/backend/ninjabackend.py
@@ -2137,8 +2137,7 @@ rule FORTRAN_DEP_HACK
return incs
def _generate_single_compile(self, target, compiler, is_generated=False):
- base_proxy = backends.OptionOverrideProxy(target.option_overrides,
- self.environment.coredata.base_options)
+ base_proxy = self.get_base_options_for_target(target)
# Create an empty commands list, and start adding arguments from
# various sources in the order in which they must override each other
commands = CompilerArgs(compiler)