Module: Mesa Branch: master Commit: 73b46136b0ba20f7f84abdadad895111a4c37166 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=73b46136b0ba20f7f84abdadad895111a4c37166
Author: Emil Velikov <[email protected]> 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 <[email protected]> Reviewed-by: Francisco Jerez <[email protected]> --- 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@[email protected] lib@OPENCL_LIBNAME@_la_LDFLAGS = \ $(LLVM_LDFLAGS) \ + -no-undefined \ -version-number 1:0 lib@OPENCL_LIBNAME@_la_LIBADD = \ _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
