summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri-nouveau
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-10-06 19:52:13 +0200
committerMarek Olšák <[email protected]>2013-10-09 12:04:38 +0200
commitc207fa6c180bdd121a80e155465160086b87e734 (patch)
treea722d32372cf033aef39b5ac71c704b6468f3531 /src/gallium/targets/dri-nouveau
parent6b7c039dc2272bcba298c7c18bd7e278820b66f5 (diff)
gallium/dri targets: use DRI_DRIVER_LDFLAGS
which contains -Wl,-Bsymbolic. If I understand it correctly, it prevents symbols from clashing if multiple drivers are loaded at the same time. Tested-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/targets/dri-nouveau')
-rw-r--r--src/gallium/targets/dri-nouveau/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/targets/dri-nouveau/Makefile.am b/src/gallium/targets/dri-nouveau/Makefile.am
index a02394e42d3..17b2c4a4ada 100644
--- a/src/gallium/targets/dri-nouveau/Makefile.am
+++ b/src/gallium/targets/dri-nouveau/Makefile.am
@@ -41,7 +41,7 @@ dri_LTLIBRARIES = nouveau_dri.la
nodist_EXTRA_nouveau_dri_la_SOURCES = dummy.cpp
nouveau_dri_la_SOURCES = target.c
-nouveau_dri_la_LDFLAGS = -module -avoid-version -shared -no-undefined
+nouveau_dri_la_LDFLAGS = $(DRI_DRIVER_LDFLAGS)
nouveau_dri_la_LIBADD = \
$(top_builddir)/src/mesa/drivers/dri/common/libdricommon.la \