Skip to content

Commit 2ea1557

Browse files
author
SendaoYan
committed
8353005: AIX build broken after 8352481
Reviewed-by: mdoerr, mbaesken, erikj
1 parent f4428e8 commit 2ea1557

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

make/autoconf/toolchain.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ AC_DEFUN_ONCE([TOOLCHAIN_DETECT_TOOLCHAIN_CORE],
622622
LDCXX="$CXX"
623623
# Force use of lld, since that is what we expect when setting flags later on
624624
if test "x$TOOLCHAIN_TYPE" = xclang; then
625-
if test "x$OPENJDK_BUILD_OS" != "xmacosx"; then
625+
if test "x$OPENJDK_TARGET_OS" = xlinux; then
626626
LD="$LD -fuse-ld=lld"
627627
LDCXX="$LDCXX -fuse-ld=lld"
628628
fi

0 commit comments

Comments
 (0)