diff options
author | Emil Velikov <[email protected]> | 2014-03-13 02:32:29 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-03-31 12:59:16 +0100 |
commit | 5503c227d98c6030455cc94197d462a066294f37 (patch) | |
tree | d673eda2a1a6a55916eb0d70d0a9550a838e272d /src/gallium | |
parent | 6c8d8119caf99fffcfb2f50763267ae0a9ed8738 (diff) |
automake: consistently use -no-undefined
Set the flag for all but the dri targets. They have missing
glapi symbols which are required for the normal operation with
the X server.
Jon, I fear that you'll need to carry the "no-undefined" hunk
locally when building the dri drivers under cygwin.
Cc: Jon TURNEY <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/Automake.inc | 17 | ||||
-rw-r--r-- | src/gallium/targets/egl-static/Makefile.am | 1 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc index a8981fb11d5..f36d93da403 100644 --- a/src/gallium/Automake.inc +++ b/src/gallium/Automake.inc @@ -54,25 +54,24 @@ GALLIUM_VIDEO_CFLAGS = \ DRI_VERSION_SCRIPT ?= $(top_srcdir)/src/gallium/state_trackers/dri/dri.link GALLIUM_DRI_LINKER_FLAGS = \ + -shared \ -module \ -avoid-version \ - -Wl,--version-script=$(DRI_VERSION_SCRIPT) \ - -shared \ - -no-undefined + -Wl,--version-script=$(DRI_VERSION_SCRIPT) GALLIUM_VDPAU_LINKER_FLAGS = \ + -shared \ -module \ + -no-undefined \ -version-number $(VDPAU_MAJOR):$(VDPAU_MINOR) \ - -export-symbols-regex $(VDPAU_EXPORTS) \ - -shared \ - -no-undefined + -export-symbols-regex $(VDPAU_EXPORTS) GALLIUM_XVMC_LINKER_FLAGS = \ + -shared \ -module \ + -no-undefined \ -version-number $(XVMC_MAJOR):$(XVMC_MINOR) \ - -shared \ - -export-symbols-regex '^XvMC' \ - -no-undefined + -export-symbols-regex '^XvMC' GALLIUM_OMX_LINKER_FLAGS = \ -shared \ diff --git a/src/gallium/targets/egl-static/Makefile.am b/src/gallium/targets/egl-static/Makefile.am index b492496a743..55eb3baaa06 100644 --- a/src/gallium/targets/egl-static/Makefile.am +++ b/src/gallium/targets/egl-static/Makefile.am @@ -46,6 +46,7 @@ AM_CPPFLAGS = \ AM_LDFLAGS = \ -module \ + -no-undefined \ -avoid-version \ -Wl,--no-undefined \ -Wl,--version-script=$(top_srcdir)/src/gallium/targets/egl-static/egl.link |