From 73b46136b0ba20f7f84abdadad895111a4c37166 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sun, 23 Feb 2014 20:29:57 +0000 Subject: 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 --- 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 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 = \ -- cgit v1.2.3