summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-02-23 20:29:57 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2014-02-24 14:59:39 +0000
commit73b46136b0ba20f7f84abdadad895111a4c37166 (patch)
tree09de818b87cae2f977fb333c0681c159de3168c1
parent1ad95343373bde5b37237c5649a2b0a7dfab4801 (diff)
targets/opencl: resolve undefined symbols at link time
Current automake build does not try to resolve undefined symbols thus we could end up with a broken library. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
-rw-r--r--src/gallium/targets/opencl/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/targets/opencl/Makefile.am b/src/gallium/targets/opencl/Makefile.am
index 7b32a099b29..a94a518660c 100644
--- a/src/gallium/targets/opencl/Makefile.am
+++ b/src/gallium/targets/opencl/Makefile.am
@@ -4,6 +4,7 @@ lib_LTLIBRARIES = lib@OPENCL_LIBNAME@.la
lib@OPENCL_LIBNAME@_la_LDFLAGS = \
$(LLVM_LDFLAGS) \
+ -no-undefined \
-version-number 1:0
lib@OPENCL_LIBNAME@_la_LIBADD = \