summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/opencl
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 /src/gallium/targets/opencl
parent1ad95343373bde5b37237c5649a2b0a7dfab4801 (diff)
downloadexternal_mesa3d-73b46136b0ba20f7f84abdadad895111a4c37166.zip
external_mesa3d-73b46136b0ba20f7f84abdadad895111a4c37166.tar.gz
external_mesa3d-73b46136b0ba20f7f84abdadad895111a4c37166.tar.bz2
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>
Diffstat (limited to 'src/gallium/targets/opencl')
-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 7b32a09..a94a518 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 = \