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>
This commit is contained in:
parent
a84dd2398f
commit
17930a66aa
|
@ -30,7 +30,7 @@
|
||||||
#
|
#
|
||||||
include $(top_srcdir)/src/gallium/Automake.inc
|
include $(top_srcdir)/src/gallium/Automake.inc
|
||||||
|
|
||||||
LDFLAGS += -Wl,$(top_srcdir)/src/gallium/targets/egl-static/egl.link
|
LDFLAGS += -Wl,--version-script=$(top_srcdir)/src/gallium/targets/egl-static/egl.link
|
||||||
|
|
||||||
AM_CFLAGS = $(PTHREAD_CFLAGS)
|
AM_CFLAGS = $(PTHREAD_CFLAGS)
|
||||||
AM_CPPFLAGS = \
|
AM_CPPFLAGS = \
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
VERSION {
|
VERSION {
|
||||||
{ global: _eglMain; local: *; };
|
global: _eglMain; local: *;
|
||||||
};
|
};
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
include $(top_srcdir)/src/gallium/Automake.inc
|
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 = \
|
AM_CPPFLAGS = \
|
||||||
$(GALLIUM_CFLAGS) \
|
$(GALLIUM_CFLAGS) \
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
VERSION {
|
VERSION {
|
||||||
{global: driver_descriptor; local: *; };
|
global: driver_descriptor; local: *;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue