Tests/RunCMake/Diab: Explicitly specify ASM compiler for asm test

Do not depend on detection of ASM compiler to run the asm test.
Specify `CMAKE_ASM_COMPILER` explicitly.

Fixes: #26864
This commit is contained in:
Sanjiv Gupta
2025-04-12 19:38:40 -04:00
committed by Brad King
parent 2cdf95ff86
commit e6e5ab6d00

View File

@@ -36,7 +36,6 @@ foreach(_diab_toolchain IN LISTS _diab_toolchains)
# Create an executable from mixed, c, cxx and assembly.
run_toolchain(diab-asm
-DCMAKE_C_COMPILER=${c_comp}
-DCMAKE_CXX_COMPILER=${cxx_comp}
-DCMAKE_ASM_COMPILER=${c_comp}
)
endforeach()