diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2018-05-13 10:36:58 -0400 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2018-06-06 20:02:37 +0000 |
commit | b7d442150dd8575f0756e3bc9e953d0f198e16c6 (patch) | |
tree | ea286310111e3e1103db39908cdb8295a3b337f0 /mesonbuild/backend/backends.py | |
parent | 58a9555ddf49d851a7eb56874df1d0b3f498e53e (diff) | |
download | meson-b7d442150dd8575f0756e3bc9e953d0f198e16c6.zip meson-b7d442150dd8575f0756e3bc9e953d0f198e16c6.tar.gz meson-b7d442150dd8575f0756e3bc9e953d0f198e16c6.tar.bz2 |
Move <lang>_args to coredata.compiler_options
Diffstat (limited to 'mesonbuild/backend/backends.py')
-rw-r--r-- | mesonbuild/backend/backends.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py index 7a50431..d347e66 100644 --- a/mesonbuild/backend/backends.py +++ b/mesonbuild/backend/backends.py @@ -510,7 +510,7 @@ class Backend: if not target.is_cross: # Compile args added from the env: CFLAGS/CXXFLAGS, etc. We want these # to override all the defaults, but not the per-target compile args. - commands += self.environment.coredata.external_args[compiler.get_language()] + commands += self.environment.coredata.get_external_args(compiler.get_language()) # Always set -fPIC for shared libraries if isinstance(target, build.SharedLibrary): commands += compiler.get_pic_args() |