summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/pipe-loader
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-11-12 11:29:21 -0800
committerTom Stellard <thomas.stellard@amd.com>2013-11-18 12:19:04 -0800
commit17930a66aad6774224296ad9c845d30e01e4ffe5 (patch)
treec642731b23ee72f61dd467324edbc2665c04e9b4 /src/gallium/targets/pipe-loader
parenta84dd2398f75c672293122408828ac66bb7052a0 (diff)
downloadexternal_mesa3d-17930a66aad6774224296ad9c845d30e01e4ffe5.zip
external_mesa3d-17930a66aad6774224296ad9c845d30e01e4ffe5.tar.gz
external_mesa3d-17930a66aad6774224296ad9c845d30e01e4ffe5.tar.bz2
gallium: Pass version scripts to linker using --version-script=
This fixes build failures with the gold linker. CC: "10.0" <mesa-stable@lists.freedesktop.org>
Diffstat (limited to 'src/gallium/targets/pipe-loader')
-rw-r--r--src/gallium/targets/pipe-loader/Makefile.am2
-rw-r--r--src/gallium/targets/pipe-loader/pipe.link2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/targets/pipe-loader/Makefile.am b/src/gallium/targets/pipe-loader/Makefile.am
index 970ff0e..1c2f31b 100644
--- a/src/gallium/targets/pipe-loader/Makefile.am
+++ b/src/gallium/targets/pipe-loader/Makefile.am
@@ -22,7 +22,7 @@
include $(top_srcdir)/src/gallium/Automake.inc
-LDFLAGS += -Wl,$(top_srcdir)/src/gallium/targets/pipe-loader/pipe.link
+LDFLAGS += -Wl,--version-script=$(top_srcdir)/src/gallium/targets/pipe-loader/pipe.link
AM_CPPFLAGS = \
$(GALLIUM_CFLAGS) \
diff --git a/src/gallium/targets/pipe-loader/pipe.link b/src/gallium/targets/pipe-loader/pipe.link
index 1c98da6..d6dd2af 100644
--- a/src/gallium/targets/pipe-loader/pipe.link
+++ b/src/gallium/targets/pipe-loader/pipe.link
@@ -1,3 +1,3 @@
VERSION {
- {global: driver_descriptor; local: *; };
+ global: driver_descriptor; local: *;
};