summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri-freedreno
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-freedreno
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-freedreno')
-rw-r--r--src/gallium/targets/dri-freedreno/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/targets/dri-freedreno/Makefile.am b/src/gallium/targets/dri-freedreno/Makefile.am
index ac7460a365d..228fafc65ff 100644
--- a/src/gallium/targets/dri-freedreno/Makefile.am
+++ b/src/gallium/targets/dri-freedreno/Makefile.am
@@ -39,7 +39,7 @@ AM_CPPFLAGS = \
dridir = $(DRI_DRIVER_INSTALL_DIR)
dri_LTLIBRARIES = kgsl_dri.la msm_dri.la
-COMMON_LDFLAGS = -module -avoid-version -shared -no-undefined
+COMMON_LDFLAGS = $(DRI_DRIVER_LDFLAGS)
COMMON_LIBADD = \
$(top_builddir)/src/mesa/drivers/dri/common/libdricommon.la \