swr: standardize linkage and check for unresolved symbols
authorTim Rowley <timothy.o.rowley@intel.com>
Thu, 19 May 2016 16:36:32 +0000 (11:36 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Thu, 19 May 2016 18:27:33 +0000 (13:27 -0500)
Acked-by: Emil Velikov <emil.velikov@collabora.com>
src/gallium/drivers/swr/Makefile.am

index 0a5ff19a74c7f82c62aa572b858155f1b0f1d95d..72d0ac46eb9f6c5091d7186aa07686f0842d88b7 100644 (file)
@@ -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