Mesa (master): targets/opencl: resolve undefined symbols at link time
Emil Velikov
evelikov at kemper.freedesktop.org
Mon Feb 24 14:58:00 UTC 2014
Module: Mesa
Branch: master
Commit: 73b46136b0ba20f7f84abdadad895111a4c37166
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=73b46136b0ba20f7f84abdadad895111a4c37166
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Sun Feb 23 20:29:57 2014 +0000
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 at gmail.com>
Reviewed-by: Francisco Jerez <currojerez at riseup.net>
---
src/gallium/targets/opencl/Makefile.am | 1 +
1 file changed, 1 insertion(+)
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 at OPENCL_LIBNAME@.la
lib at OPENCL_LIBNAME@_la_LDFLAGS = \
$(LLVM_LDFLAGS) \
+ -no-undefined \
-version-number 1:0
lib at OPENCL_LIBNAME@_la_LIBADD = \
More information about the mesa-commit
mailing list