From cea6fd5e18752ee2351b63f6effdc00a8a74d1c6 Mon Sep 17 00:00:00 2001 From: Modestas Vainius Date: Fri, 9 Sep 2016 17:09:51 +0000 Subject: [PATCH] Fix monotonic clock detection on kFreeBSD Fix monotonic clock detection on kFreeBSD at configure time. This will finally enable it in QElapsedTimer. QProcess::waitForFinished() and all other qt_safe_select() users cannot safely operate without monotonic clock because qt_safe_select() will indicate timeout earlier than it is supposed when underlying select() call is interrupted (errno=EINTR). Gbp-Pq: Name kfreebsd_monotonic_clock.diff --- config.tests/unix/clock-gettime/clock-gettime.pri | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.tests/unix/clock-gettime/clock-gettime.pri b/config.tests/unix/clock-gettime/clock-gettime.pri index 65b49fb8b..85a07e245 100644 --- a/config.tests/unix/clock-gettime/clock-gettime.pri +++ b/config.tests/unix/clock-gettime/clock-gettime.pri @@ -1,2 +1,2 @@ # clock_gettime() is implemented in librt on these systems -linux-*|hpux-*|solaris-*:LIBS_PRIVATE *= -lrt +linux-*|glibc-*|hpux-*|solaris-*:LIBS_PRIVATE *= -lrt -- 2.30.2