aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/backends.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-05-21 21:46:03 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2016-05-21 21:46:03 +0300
commitafe7252476290ffb6d26a21bf4ceab9eecc7ca79 (patch)
tree90001f70c4a02e968ae3fde1e841d58531d97dcc /mesonbuild/backend/backends.py
parent695aa0b8c28a0069d0e999aa039a60951b440ea4 (diff)
downloadmeson-afe7252476290ffb6d26a21bf4ceab9eecc7ca79.zip
meson-afe7252476290ffb6d26a21bf4ceab9eecc7ca79.tar.gz
meson-afe7252476290ffb6d26a21bf4ceab9eecc7ca79.tar.bz2
Can specify a stdlib subproject that is used implicitly on all targets with said language.
Diffstat (limited to 'mesonbuild/backend/backends.py')
-rw-r--r--mesonbuild/backend/backends.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
index ceb466b..29966b9 100644
--- a/mesonbuild/backend/backends.py
+++ b/mesonbuild/backend/backends.py
@@ -244,6 +244,7 @@ class Backend():
def generate_basic_compiler_args(self, target, compiler):
commands = []
+ commands += self.get_cross_stdlib_args(target, compiler)
commands += compiler.get_always_args()
commands += compiler.get_warn_args(self.environment.coredata.get_builtin_option('warning_level'))
commands += compiler.get_option_compile_args(self.environment.coredata.compiler_options)