Skip to content

Commit 63eb485

Browse files
author
SendaoYan
committed
8343883: Cannot resolve user specified toolchain-path for lld after JDK-8338304
Reviewed-by: ihse, jwaters
1 parent db85090 commit 63eb485

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

make/autoconf/flags-ldflags.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
7474
# Clang needs the lld linker to work correctly
7575
BASIC_LDFLAGS="-fuse-ld=lld -Wl,--exclude-libs,ALL"
7676
if test "x$CXX_IS_USER_SUPPLIED" = xfalse && test "x$CC_IS_USER_SUPPLIED" = xfalse; then
77-
UTIL_REQUIRE_PROGS(LLD, lld)
77+
UTIL_REQUIRE_PROGS(LLD, lld, $TOOLCHAIN_PATH:$PATH)
7878
fi
7979
fi
8080
if test "x$OPENJDK_TARGET_OS" = xaix; then

0 commit comments

Comments
 (0)