diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-08-30 17:55:39 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2022-09-01 01:05:48 +0300 |
commit | 388cb0f805ec9ee54ab721fad28f51a842e66186 (patch) | |
tree | f144349c072725f113374a32eec28ce0d520971f /mesonbuild/compilers/compilers.py | |
parent | e121cd123ccc1ee2f33a76d736ee91770a0debe2 (diff) | |
download | meson-388cb0f805ec9ee54ab721fad28f51a842e66186.zip meson-388cb0f805ec9ee54ab721fad28f51a842e66186.tar.gz meson-388cb0f805ec9ee54ab721fad28f51a842e66186.tar.bz2 |
env2mfile: reuse logical lists of interesting facts from meson itself
Meson internally knows about many languages and tools, and *FLAGS
variables, and which languages to use them for. Instead of duplicating
this logic, import it from mesonbuild.*
This logic was originally standalone, but now that it is merged into the
Meson tree we can have a single source of truth.
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r-- | mesonbuild/compilers/compilers.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index fab9fc1..73e05b4 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -107,6 +107,7 @@ CFLAGS_MAPPING: T.Mapping[str, str] = { 'vala': 'VALAFLAGS', 'rust': 'RUSTFLAGS', 'cython': 'CYTHONFLAGS', + 'cs': 'CSFLAGS', # This one might not be standard. } # All these are only for C-linkable languages; see `clink_langs` above. |