summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-02-23 20:29:57 +0000
committerEmil Velikov <[email protected]>2014-02-24 14:59:39 +0000
commit73b46136b0ba20f7f84abdadad895111a4c37166 (patch)
tree09de818b87cae2f977fb333c0681c159de3168c1 /src/gallium/targets
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 <[email protected]> Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/gallium/targets')
-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@[email protected]
lib@OPENCL_LIBNAME@_la_LDFLAGS = \
$(LLVM_LDFLAGS) \
+ -no-undefined \
-version-number 1:0
lib@OPENCL_LIBNAME@_la_LIBADD = \