diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2014-06-07 23:39:59 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2014-06-07 23:43:16 +0300 |
commit | 365f529c75a6b55278db2ee5749d26a29a56fa83 (patch) | |
tree | 777f5a526a9f5753c912bcd73a1204715eab3698 /backends.py | |
parent | f88779319d61e316bef8e5b3f9241cf2d80b3e6d (diff) | |
download | meson-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.py | 2 |
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() |