aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-02-04 23:06:46 +0100
committerGitHub <noreply@github.com>2019-02-04 23:06:46 +0100
commit902aaf2ce67a8a2a21580685673400f675bf28c1 (patch)
tree7216a78552e80289ba5ee5f55c638ecb67caec66 /run_tests.py
parent59791fc56966901038aaaac23942bc8ac6e11494 (diff)
parent19f81d3e33c70c9c902dabaad732e5d33bf05bd4 (diff)
downloadmeson-902aaf2ce67a8a2a21580685673400f675bf28c1.zip
meson-902aaf2ce67a8a2a21580685673400f675bf28c1.tar.gz
meson-902aaf2ce67a8a2a21580685673400f675bf28c1.tar.bz2
Merge pull request #4626 from Ericson2314/consolidate-properties
Go through coreutils.compiler_options.{build.host.target}
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_tests.py b/run_tests.py
index 20cb4e2..d72546b 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -80,7 +80,7 @@ def get_fake_env(sdir='', bdir=None, prefix='', opts=None):
if opts is None:
opts = get_fake_options(prefix)
env = Environment(sdir, bdir, opts)
- env.coredata.compiler_options['c_args'] = FakeCompilerOptions()
+ env.coredata.compiler_options.host['c_args'] = FakeCompilerOptions()
env.machines.host.cpu_family = 'x86_64' # Used on macOS inside find_library
return env