Skip to content

Commit b329da0

Browse files
author
duke
committed
Backport 7bfdb0120752d01da96c19e8037a6e909847d63c
1 parent b8aa130 commit b329da0

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)