We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a80ba62 commit 7bfdb01Copy full SHA for 7bfdb01
make/autoconf/libraries.m4
@@ -136,12 +136,8 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBRARIES],
136
BASIC_JVM_LIBS="$BASIC_JVM_LIBS $LIBPTHREAD"
137
fi
138
139
- # librt for legacy clock_gettime
+ # librt - for timers (timer_* functions)
140
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.
145
BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lrt"
146
147
0 commit comments