[Libreoffice-commits] core.git: opencl/Library_opencl.mk
Tor Lillqvist
tml at collabora.com
Thu Nov 27 06:16:14 PST 2014
opencl/Library_opencl.mk | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit d73d1e8a4f9937ef1ea90cf45f49bfc822ef2c41
Author: Tor Lillqvist <tml at collabora.com>
Date: Thu Nov 27 16:15:22 2014 +0200
Need -lrt for clock_gettime() with older glibc versions
Change-Id: I4651f74a89b8707cbf0ebdd3b950df3a5b99177a
diff --git a/opencl/Library_opencl.mk b/opencl/Library_opencl.mk
index ad1af37..eb83220 100644
--- a/opencl/Library_opencl.mk
+++ b/opencl/Library_opencl.mk
@@ -46,4 +46,10 @@ $(eval $(call gb_Library_add_exception_objects,opencl,\
opencl/source/platforminfo \
))
+ifeq ($(OS),LINUX)
+$(eval $(call gb_Library_add_libs,opencl,\
+ -lrt \
+))
+endif
+
# vim: set noet sw=4 ts=4:
More information about the Libreoffice-commits
mailing list