8353005: AIX build broken after 8352481

Reviewed-by: mdoerr, mbaesken, erikj
This commit is contained in:
SendaoYan 2025-03-28 06:03:36 +00:00
parent f4428e89b7
commit 2ea1557a0f

View File

@ -622,7 +622,7 @@ AC_DEFUN_ONCE([TOOLCHAIN_DETECT_TOOLCHAIN_CORE],
LDCXX="$CXX"
# Force use of lld, since that is what we expect when setting flags later on
if test "x$TOOLCHAIN_TYPE" = xclang; then
if test "x$OPENJDK_BUILD_OS" != "xmacosx"; then
if test "x$OPENJDK_TARGET_OS" = xlinux; then
LD="$LD -fuse-ld=lld"
LDCXX="$LDCXX -fuse-ld=lld"
fi