From b7d442150dd8575f0756e3bc9e953d0f198e16c6 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Sun, 13 May 2018 10:36:58 -0400 Subject: Move _args to coredata.compiler_options --- mesonbuild/compilers/d.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mesonbuild/compilers/d.py') diff --git a/mesonbuild/compilers/d.py b/mesonbuild/compilers/d.py index 474e1bd..5cb3659 100644 --- a/mesonbuild/compilers/d.py +++ b/mesonbuild/compilers/d.py @@ -180,10 +180,10 @@ class DCompiler(Compiler): if mode == 'compile': # Add DFLAGS from the env - args += env.coredata.external_args[self.language] + args += env.coredata.get_external_args(self.language) elif mode == 'link': # Add LDFLAGS from the env - args += env.coredata.external_link_args[self.language] + args += env.coredata.get_external_link_args(self.language) # extra_args must override all other arguments, so we add them last args += extra_args return args -- cgit v1.1