summaryrefslogtreecommitdiffstats
path: root/src/gallium/Automake.inc
diff options
context:
space:
mode:
authorJonathan Gray <jsg@jsg.id.au>2014-04-03 15:46:01 +1100
committerEmil Velikov <emil.l.velikov@gmail.com>2014-04-05 13:30:27 +0100
commit11623be934f8573910484de2a5fb50c95f0a1d44 (patch)
tree2e9ca8fde1180e0e019779fb679dffdf0f3902b6 /src/gallium/Automake.inc
parente4bd00c1c66ddd574499dcda38519686f9f0a27a (diff)
downloadexternal_mesa3d-11623be934f8573910484de2a5fb50c95f0a1d44.zip
external_mesa3d-11623be934f8573910484de2a5fb50c95f0a1d44.tar.gz
external_mesa3d-11623be934f8573910484de2a5fb50c95f0a1d44.tar.bz2
automake: don't enable -Wl,--no-undefined on OpenBSD
OpenBSD does not have DT_NEEDED entries for libc by design, over concerns how the symbols would be referenced after changing the major version of the library. So avoid -no-undefined checks on OpenBSD as they will fail. v2: don't include the -no-undefined libtool option in the variable and change -Wl,--no-undefined references in Automake.inc as well. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76856 Signed-off-by: Jonathan Gray <jsg@jsg.id.au> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/gallium/Automake.inc')
-rw-r--r--src/gallium/Automake.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc
index 7b75a92..bafde36 100644
--- a/src/gallium/Automake.inc
+++ b/src/gallium/Automake.inc
@@ -67,7 +67,7 @@ GALLIUM_VDPAU_LINKER_FLAGS = \
-version-number $(VDPAU_MAJOR):$(VDPAU_MINOR) \
-export-symbols-regex $(VDPAU_EXPORTS) \
$(GC_SECTIONS) \
- -Wl,--no-undefined
+ $(LD_NO_UNDEFINED)
GALLIUM_XVMC_LINKER_FLAGS = \
-shared \
@@ -76,7 +76,7 @@ GALLIUM_XVMC_LINKER_FLAGS = \
-version-number $(XVMC_MAJOR):$(XVMC_MINOR) \
-export-symbols-regex '^XvMC' \
$(GC_SECTIONS) \
- -Wl,--no-undefined
+ $(LD_NO_UNDEFINED)
GALLIUM_OMX_LINKER_FLAGS = \
-shared \
@@ -84,7 +84,7 @@ GALLIUM_OMX_LINKER_FLAGS = \
-no-undefined \
-export-symbols-regex $(EXPORTS) \
$(GC_SECTIONS) \
- -Wl,--no-undefined
+ $(LD_NO_UNDEFINED)
GALLIUM_COMMON_LIB_DEPS = \
-lm \