aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/d.py
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2018-05-13 10:36:58 -0400
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2018-06-06 20:02:37 +0000
commitb7d442150dd8575f0756e3bc9e953d0f198e16c6 (patch)
treeea286310111e3e1103db39908cdb8295a3b337f0 /mesonbuild/compilers/d.py
parent58a9555ddf49d851a7eb56874df1d0b3f498e53e (diff)
downloadmeson-b7d442150dd8575f0756e3bc9e953d0f198e16c6.zip
meson-b7d442150dd8575f0756e3bc9e953d0f198e16c6.tar.gz
meson-b7d442150dd8575f0756e3bc9e953d0f198e16c6.tar.bz2
Move <lang>_args to coredata.compiler_options
Diffstat (limited to 'mesonbuild/compilers/d.py')
-rw-r--r--mesonbuild/compilers/d.py4
1 files changed, 2 insertions, 2 deletions
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