summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/radeonsi
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/radeonsi
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/radeonsi')
-rw-r--r--src/gallium/targets/radeonsi/dri/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/targets/radeonsi/dri/Makefile.am b/src/gallium/targets/radeonsi/dri/Makefile.am
index f8e35e91269..8a78f1b80d4 100644
--- a/src/gallium/targets/radeonsi/dri/Makefile.am
+++ b/src/gallium/targets/radeonsi/dri/Makefile.am
@@ -44,7 +44,7 @@ nodist_EXTRA_radeonsi_dri_la_SOURCES = dummy.cpp
radeonsi_dri_la_SOURCES = \
../drm_target.c
-radeonsi_dri_la_LDFLAGS = -module -avoid-version -shared -no-undefined
+radeonsi_dri_la_LDFLAGS = $(DRI_DRIVER_LDFLAGS)
radeonsi_dri_la_LIBADD = \
$(top_builddir)/src/mesa/drivers/dri/common/libdricommon.la \