From d187a150d45cbf5bd3476eab49be5057382c2c86 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 13 Mar 2014 05:44:33 +0000 Subject: automake: add -Wl,--no-undefined to all libraries ... apart from the dri drivers. With this final change we can build mesa without fear that the resulting libraries will have unresolved symbols. Signed-off-by: Emil Velikov Reviewed-by: Matt Turner --- src/gallium/Automake.inc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/gallium/Automake.inc') diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc index f36d93da403..1151f916bef 100644 --- a/src/gallium/Automake.inc +++ b/src/gallium/Automake.inc @@ -64,20 +64,23 @@ GALLIUM_VDPAU_LINKER_FLAGS = \ -module \ -no-undefined \ -version-number $(VDPAU_MAJOR):$(VDPAU_MINOR) \ - -export-symbols-regex $(VDPAU_EXPORTS) + -export-symbols-regex $(VDPAU_EXPORTS) \ + -Wl,--no-undefined GALLIUM_XVMC_LINKER_FLAGS = \ -shared \ -module \ -no-undefined \ -version-number $(XVMC_MAJOR):$(XVMC_MINOR) \ - -export-symbols-regex '^XvMC' + -export-symbols-regex '^XvMC' \ + -Wl,--no-undefined GALLIUM_OMX_LINKER_FLAGS = \ -shared \ -module \ -no-undefined \ - -export-symbols-regex $(EXPORTS) + -export-symbols-regex $(EXPORTS) \ + -Wl,--no-undefined GALLIUM_VDPAU_LIB_DEPS = \ $(top_builddir)/src/gallium/auxiliary/libgallium.la \ -- cgit v1.2.3