summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2016-05-19 11:36:32 -0500
committerTim Rowley <[email protected]>2016-05-19 13:27:33 -0500
commit9475251145174882b53295a719948c7ac63ebb12 (patch)
tree7bef347efd44521666567843d4e4691319603d5c /src/gallium/drivers/swr
parent6423004d851bfc33aeb980548b877c1501a6e3a9 (diff)
swr: standardize linkage and check for unresolved symbols
Acked-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr')
-rw-r--r--src/gallium/drivers/swr/Makefile.am8
1 files changed, 7 insertions, 1 deletions
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