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 | fa72cd7173c0e2798d622052ae3fcee2ad947c0b (patch) | |
tree | fff491a3f72dee0cd11a8564621da986042da948 /run_unittests.py | |
parent | 6eeea9dd546e881ef9eb38f61a0a7a96d67a77fc (diff) | |
download | meson-fa72cd7173c0e2798d622052ae3fcee2ad947c0b.zip meson-fa72cd7173c0e2798d622052ae3fcee2ad947c0b.tar.gz meson-fa72cd7173c0e2798d622052ae3fcee2ad947c0b.tar.bz2 |
Move get_args_from_envvars() from environment to compilers
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-x | run_unittests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py index 1400db7..79799ea 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -3427,7 +3427,7 @@ def unset_envs(): # For unit tests we must fully control all command lines # so that there are no unexpected changes coming from the # environment, for example when doing a package build. - varnames = ['CPPFLAGS', 'LDFLAGS'] + list(mesonbuild.environment.cflags_mapping.values()) + varnames = ['CPPFLAGS', 'LDFLAGS'] + list(mesonbuild.compilers.compilers.cflags_mapping.values()) for v in varnames: if v in os.environ: del os.environ[v] |