Mesa (master): swr: standardize linkage and check for unresolved symbols

Tim Rowley torowley at kemper.freedesktop.org
Thu May 19 18:31:00 UTC 2016


Module: Mesa
Branch: master
Commit: 9475251145174882b53295a719948c7ac63ebb12
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9475251145174882b53295a719948c7ac63ebb12

Author: Tim Rowley <timothy.o.rowley at intel.com>
Date:   Thu May 19 11:36:32 2016 -0500

swr: standardize linkage and check for unresolved symbols

Acked-by: Emil Velikov <emil.velikov at collabora.com>

---

 src/gallium/drivers/swr/Makefile.am | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/gallium/drivers/swr/Makefile.am b/src/gallium/drivers/swr/Makefile.am
index 0a5ff19..72d0ac4 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
 




More information about the mesa-commit mailing list