From: Tim Rowley Date: Thu, 19 May 2016 16:36:32 +0000 (-0500) Subject: swr: standardize linkage and check for unresolved symbols X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9475251145174882b53295a719948c7ac63ebb12;p=mesa.git swr: standardize linkage and check for unresolved symbols Acked-by: Emil Velikov --- diff --git a/src/gallium/drivers/swr/Makefile.am b/src/gallium/drivers/swr/Makefile.am index 0a5ff19a74c..72d0ac46eb9 100644 --- a/src/gallium/drivers/swr/Makefile.am +++ b/src/gallium/drivers/swr/Makefile.am @@ -105,7 +105,13 @@ COMMON_LIBADD = \ $(top_builddir)/src/mesa/libmesagallium.la \ $(LLVM_LIBS) -COMMON_LDFLAGS = $(LLVM_LDFLAGS) +COMMON_LDFLAGS = \ + -shared \ + -module \ + -no-undefined \ + $(GC_SECTIONS) \ + $(NO_UNDEFINED) \ + $(LLVM_LDFLAGS) lib_LTLIBRARIES = libswrAVX.la libswrAVX2.la