diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-05-21 21:46:03 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-05-21 21:46:03 +0300 |
commit | afe7252476290ffb6d26a21bf4ceab9eecc7ca79 (patch) | |
tree | 90001f70c4a02e968ae3fde1e841d58531d97dcc /mesonbuild/compilers.py | |
parent | 695aa0b8c28a0069d0e999aa039a60951b440ea4 (diff) | |
download | meson-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/compilers.py')
-rw-r--r-- | mesonbuild/compilers.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mesonbuild/compilers.py b/mesonbuild/compilers.py index 8dee468..c4e8f0d 100644 --- a/mesonbuild/compilers.py +++ b/mesonbuild/compilers.py @@ -311,6 +311,12 @@ class CCompiler(Compiler): def get_always_args(self): return [] + def get_no_stdinc_args(self): + return ['-nostdinc'] + + def get_no_stdlib_link_args(self): + return ['-nostdlib'] + def get_warn_args(self, level): return self.warn_args[level] |