Skip to content

Commit 7bfdb01

Browse files
committed
8368565: Adjust comment regarding dependency of libjvm.so to librt
Reviewed-by: dholmes
1 parent a80ba62 commit 7bfdb01

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

make/autoconf/libraries.m4

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,8 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBRARIES],
136136
BASIC_JVM_LIBS="$BASIC_JVM_LIBS $LIBPTHREAD"
137137
fi
138138
139-
# librt for legacy clock_gettime
139+
# librt - for timers (timer_* functions)
140140
if test "x$OPENJDK_TARGET_OS" = xlinux; then
141-
# Hotspot needs to link librt to get the clock_* functions.
142-
# But once our supported minimum build and runtime platform
143-
# has glibc 2.17, this can be removed as the functions are
144-
# in libc.
145141
BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lrt"
146142
fi
147143

0 commit comments

Comments
 (0)