PR #22747 opened by Zhao Zhili (quink) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22747 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22747.patch
When check_cflags -mvsx fails, the && short-circuit prevents check_cc from running. Since check_cc is responsible for disabling vsx on failure, skipping it leaves vsx incorrectly enabled. Fix by removing the && so check_cc always executes. Signed-off-by: Zhao Zhili <[email protected]> >From 55f9b3f1ac079df8bd1d9c6a4d9158299ecb5b61 Mon Sep 17 00:00:00 2001 From: Zhao Zhili <[email protected]> Date: Wed, 8 Apr 2026 11:33:38 +0800 Subject: [PATCH] configure: fix VSX remaining enabled when -mvsx is unsupported When check_cflags -mvsx fails, the && short-circuit prevents check_cc from running. Since check_cc is responsible for disabling vsx on failure, skipping it leaves vsx incorrectly enabled. Fix by removing the && so check_cc always executes. Signed-off-by: Zhao Zhili <[email protected]> --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index ff5f7935cd..5288d13bd8 100755 --- a/configure +++ b/configure @@ -6778,7 +6778,7 @@ elif enabled ppc; then fi if enabled vsx; then - check_cflags -mvsx && + check_cflags -mvsx check_cc vsx altivec.h "int v[4] = { 0 }; vector signed int v1 = vec_vsx_ld(0, v);" fi -- 2.52.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
