From a85a8e67579d6d3efd33857d4a76fceece783502 Mon Sep 17 00:00:00 2001 From: Zhao Zhili 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 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 719642d96b..3d7ce32d87 100755 --- a/configure +++ b/configure @@ -6780,7 +6780,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