diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-11-27 16:15:22 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-11-28 10:24:58 +0200 |
commit | c2582649289fee3af316593772448407dffb4624 (patch) | |
tree | 2347f2f2e0767d5742125829b3e029b1f09651a1 /opencl | |
parent | d7d945cef53edac1a768bb96e5f8cab1b896ad3a (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: |