diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-11-27 16:15:22 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-11-27 16:15:22 +0200 |
commit | d73d1e8a4f9937ef1ea90cf45f49bfc822ef2c41 (patch) | |
tree | 07a822d0784c5634c4fddebf6366089806f1fc66 /opencl | |
parent | 79d6813609ffe05e4d8b678bc608fbfd1482aeb9 (diff) |
Need -lrt for clock_gettime() with older glibc versions
Change-Id: I4651f74a89b8707cbf0ebdd3b950df3a5b99177a
Diffstat (limited to 'opencl')
-rw-r--r-- | opencl/Library_opencl.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/opencl/Library_opencl.mk b/opencl/Library_opencl.mk index ad1af3761b08..eb832208b654 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: |