summaryrefslogtreecommitdiffstats
path: root/sc/Library_scopencl.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-09-30 14:27:38 +0300
committerTor Lillqvist <tml@collabora.com>2013-09-30 16:57:38 +0300
commitab683542cd78e225a2e11e405e1cd8cfce99461a (patch)
tree95c3bc300a7e7819772fdc348171875a9e42bfd5 /sc/Library_scopencl.mk
parentfdo#43157 - Clean up OSL_ENSURE (diff)
downloadcore-ab683542cd78e225a2e11e405e1cd8cfce99461a.tar.gz
core-ab683542cd78e225a2e11e405e1cd8cfce99461a.zip
Revert "Fix OpenCL use on Mac"
Nah, do use clew after all. Makes it easier to build against an old SDK. Do always link against the OpenCL framework, though, and use NULL instead of some dylib name as the parameter to clewInit() (and thus dlopen()). This reverts commit d0fdae78797979949ec7ead20ad52b901c8c7e9a. Change-Id: I2ec07ddf60941851ea70523113296627fbd80a0c
Diffstat (limited to 'sc/Library_scopencl.mk')
-rw-r--r--sc/Library_scopencl.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/Library_scopencl.mk b/sc/Library_scopencl.mk
index c2ca1f397189..cb702e867eda 100644
--- a/sc/Library_scopencl.mk
+++ b/sc/Library_scopencl.mk
@@ -36,8 +36,7 @@ $(eval $(call gb_Library_use_libraries,scopencl,\
$(eval $(call gb_Library_add_exception_objects,scopencl,\
sc/source/core/opencl/formulagroupcl \
sc/source/core/opencl/openclwrapper \
- $(if $(filter-out MACOSX,$(OS)), \
- sc/source/core/opencl/clcc/clew) \
+ sc/source/core/opencl/clcc/clew \
))
ifeq ($(OS),LINUX)