summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/r600/dri
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/r600/dri
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/r600/dri')
-rw-r--r--src/gallium/targets/r600/dri/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/targets/r600/dri/Makefile.am b/src/gallium/targets/r600/dri/Makefile.am
index fbd0c244075..c7fca320f2b 100644
--- a/src/gallium/targets/r600/dri/Makefile.am
+++ b/src/gallium/targets/r600/dri/Makefile.am
@@ -43,7 +43,7 @@ dri_LTLIBRARIES = r600_dri.la
r600_dri_la_SOURCES = \
../drm_target.c
-r600_dri_la_LDFLAGS = -module -avoid-version -shared -no-undefined
+r600_dri_la_LDFLAGS = $(DRI_DRIVER_LDFLAGS)
r600_dri_la_LIBADD = \
$(top_builddir)/src/mesa/drivers/dri/common/libdricommon.la \