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 <zhilizhao@tencent.com>
This commit is contained in:
Zhao Zhili
2026-04-08 11:33:38 +08:00
committed by Zhao Zhili
parent 32678dcc88
commit a85a8e6757

2
configure vendored
View File

@@ -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