summaryrefslogtreecommitdiffstats
path: root/src/gallium/Automake.inc
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-04-04 23:53:13 +0100
committerEmil Velikov <[email protected]>2014-05-02 21:48:26 +0100
commitbea9e8dca010c84b8281000d69b62dcdc0341bf3 (patch)
tree387c060139d685b226477b9dbf76b1ffbb302f43 /src/gallium/Automake.inc
parent6239d42fdbd15f68442a71563902ac7d51a92fcf (diff)
targets/omx: use version script to limit amount of exported symbols
Using export-symbols-regex is the least desirable method of restricting the exported symbols, as is completely messes up with the symbol table. radeon_drm_winsys_create is not needed, avoid exporting it. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/Automake.inc')
-rw-r--r--src/gallium/Automake.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc
index feed5c32cb0..5263b7ae22a 100644
--- a/src/gallium/Automake.inc
+++ b/src/gallium/Automake.inc
@@ -81,7 +81,7 @@ GALLIUM_OMX_LINKER_FLAGS = \
-shared \
-module \
-no-undefined \
- -export-symbols-regex $(EXPORTS) \
+ -Wl,--version-script=$(top_srcdir)/src/gallium/targets/omx.sym \
$(GC_SECTIONS) \
$(LD_NO_UNDEFINED)