summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/opencl
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-03-13 05:44:33 +0000
committerEmil Velikov <[email protected]>2014-03-31 13:09:23 +0100
commitd187a150d45cbf5bd3476eab49be5057382c2c86 (patch)
tree21d55b22990122812b5875f31cc1d09966fedc39 /src/gallium/targets/opencl
parent902dc61f886c0d719ce25894bbc8032ede0f409b (diff)
automake: add -Wl,--no-undefined to all libraries
... apart from the dri drivers. With this final change we can build mesa without fear that the resulting libraries will have unresolved symbols. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/gallium/targets/opencl')
-rw-r--r--src/gallium/targets/opencl/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/targets/opencl/Makefile.am b/src/gallium/targets/opencl/Makefile.am
index eb25a5e47aa..b401d10d7a7 100644
--- a/src/gallium/targets/opencl/Makefile.am
+++ b/src/gallium/targets/opencl/Makefile.am
@@ -5,7 +5,9 @@ lib_LTLIBRARIES = lib@[email protected]
lib@OPENCL_LIBNAME@_la_LDFLAGS = \
$(LLVM_LDFLAGS) \
-no-undefined \
- -version-number 1:0
+ -version-number 1:0 \
+ -Wl,--no-undefined
+
lib@OPENCL_LIBNAME@_la_LIBADD = \
$(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_client.la \