diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2019-03-21 21:06:46 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2019-03-27 10:54:56 -0400 |
commit | f53f58f54eaca1e97cc0e3e102ba275c85be60c0 (patch) | |
tree | 59729d36c8a12be30422533467143b651c7ee9cb /run_project_tests.py | |
parent | 507b1dc40e3ba110eca77430e98d71b47f386b55 (diff) | |
download | meson-f53f58f54eaca1e97cc0e3e102ba275c85be60c0.zip meson-f53f58f54eaca1e97cc0e3e102ba275c85be60c0.tar.gz meson-f53f58f54eaca1e97cc0e3e102ba275c85be60c0.tar.bz2 |
Always initialize compiler_options before sanity_check
This is because sanity checking wants to use CFLAGS and friends.
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-x | run_project_tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/run_project_tests.py b/run_project_tests.py index 467d522..be6ecd9 100755 --- a/run_project_tests.py +++ b/run_project_tests.py @@ -460,6 +460,7 @@ def have_objc_compiler(): return False if not objc_comp: return False + env.coredata.process_new_compilers('objc', objc_comp, None, env) try: objc_comp.sanity_check(env.get_scratch_dir(), env) except mesonlib.MesonException: @@ -475,6 +476,7 @@ def have_objcpp_compiler(): return False if not objcpp_comp: return False + env.coredata.process_new_compilers('objcpp', objcpp_comp, None, env) try: objcpp_comp.sanity_check(env.get_scratch_dir(), env) except mesonlib.MesonException: |