aboutsummaryrefslogtreecommitdiff
path: root/backends.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-06-07 23:39:59 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2014-06-07 23:43:16 +0300
commit365f529c75a6b55278db2ee5749d26a29a56fa83 (patch)
tree777f5a526a9f5753c912bcd73a1204715eab3698 /backends.py
parentf88779319d61e316bef8e5b3f9241cf2d80b3e6d (diff)
downloadmeson-365f529c75a6b55278db2ee5749d26a29a56fa83.zip
meson-365f529c75a6b55278db2ee5749d26a29a56fa83.tar.gz
meson-365f529c75a6b55278db2ee5749d26a29a56fa83.tar.bz2
Store build flags into coredata as it is persistent and needs to survive over Meson reconfigurations.
Diffstat (limited to 'backends.py')
-rw-r--r--backends.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends.py b/backends.py
index 1aecadd..285cb6c 100644
--- a/backends.py
+++ b/backends.py
@@ -320,7 +320,7 @@ class Backend():
commands = []
commands += compiler.get_always_flags()
commands += self.build.get_global_flags(compiler)
- commands += self.build.get_external_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_debug_flags()