aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2018-10-09 17:13:32 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2018-11-04 15:42:06 +0000
commit0eeb9316bee8202b7b896f83f92fdba8302a6c5c (patch)
tree794f7ffb24ca98ad1a9c481259a6c1558c95e0ba
parent075168d492ac4e8f65d02aeab5297e07c61e87ed (diff)
downloadmeson-0eeb9316bee8202b7b896f83f92fdba8302a6c5c.zip
meson-0eeb9316bee8202b7b896f83f92fdba8302a6c5c.tar.gz
meson-0eeb9316bee8202b7b896f83f92fdba8302a6c5c.tar.bz2
Don't hardcode cl in test common/123
-rw-r--r--test cases/common/123 llvm ir and assembly/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/test cases/common/123 llvm ir and assembly/meson.build b/test cases/common/123 llvm ir and assembly/meson.build
index 1746c91..2f6034b 100644
--- a/test cases/common/123 llvm ir and assembly/meson.build
+++ b/test cases/common/123 llvm ir and assembly/meson.build
@@ -29,7 +29,7 @@ foreach lang : ['c', 'cpp']
# cl.exe pre-processor first and then assemble it with the ml.exe assembler.
# Then we can link it into the executable.
if cc.get_argument_syntax() == 'msvc'
- cl = find_program('cl')
+ cl = cc.cmd_array()
if cpu == 'x86'
ml = find_program('ml')
elif cpu == 'x86_64'