From: Reimar Döffinger <reimar.doeffin...@gmx.de> It would get immediately overridden to $cc, which in case of gas-preprocessor missing would result in it trying to use cl.exe for asm files instead of erroring out. This is because cl.exe does not fail but just print a warning when it is given a file it does not know what to do with it... --- configure | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/configure b/configure index 12b41cde1c..d3b665f6f9 100755 --- a/configure +++ b/configure @@ -4271,14 +4271,6 @@ case "$toolchain" in ld_default="$source_path/compat/windows/mslink" nm_default="dumpbin.exe -symbols" ar_default="lib.exe" - case "$arch" in - aarch64|arm64) - as_default="armasm64.exe" - ;; - arm*) - as_default="armasm.exe" - ;; - esac target_os_default="win32" # Use a relative path for TMPDIR. This makes sure all the # ffconf temp files are written with a relative path, avoiding @@ -4720,6 +4712,14 @@ probe_cc(){ _ld_path='-libpath:' elif $_cc -nologo- 2>&1 | grep -q Microsoft || { $_cc -v 2>&1 | grep -q clang && $_cc -? > /dev/null 2>&1; }; then _type=msvc + case "$arch" in + aarch64|arm64) + as_default="armasm64.exe" + ;; + arm*) + as_default="armasm.exe" + ;; + esac if $_cc -nologo- 2>&1 | grep -q Microsoft; then _ident=$($_cc 2>&1 | head -n1 | tr -d '\r') else -- 2.24.3 (Apple Git-128) _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".