Don't hardcode cl in test common/123

pull/4250/head
Jon Turney 6 years ago
parent 075168d492
commit 0eeb9316be
No known key found for this signature in database
GPG Key ID: C7C86F0370285C81
  1. 2
      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. # cl.exe pre-processor first and then assemble it with the ml.exe assembler.
# Then we can link it into the executable. # Then we can link it into the executable.
if cc.get_argument_syntax() == 'msvc' if cc.get_argument_syntax() == 'msvc'
cl = find_program('cl') cl = cc.cmd_array()
if cpu == 'x86' if cpu == 'x86'
ml = find_program('ml') ml = find_program('ml')
elif cpu == 'x86_64' elif cpu == 'x86_64'

Loading…
Cancel
Save