From: Emil Velikov Date: Sun, 23 Feb 2014 20:29:57 +0000 (+0000) Subject: targets/opencl: resolve undefined symbols at link time X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=73b46136b0ba20f7f84abdadad895111a4c37166;p=mesa.git 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 Reviewed-by: Francisco Jerez --- 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@OPENCL_LIBNAME@.la lib@OPENCL_LIBNAME@_la_LDFLAGS = \ $(LLVM_LDFLAGS) \ + -no-undefined \ -version-number 1:0 lib@OPENCL_LIBNAME@_la_LIBADD = \