summaryrefslogtreecommitdiff
path: root/debian/rules.d
diff options
context:
space:
mode:
authordoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2015-07-23 12:28:20 +0000
committerdoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2015-07-23 12:28:20 +0000
commite56a5d95e04d28e5eea7b5d86b99c3e8b3098156 (patch)
treea0c9bfd2e3a6dac3cf8e18e79a2e385374fee627 /debian/rules.d
parentcb40fdce6295b3bc01f27c40ce15b3a487111f15 (diff)
downloadgcc-5-e56a5d95e04d28e5eea7b5d86b99c3e8b3098156.tar.gz
* Ignore missing libstdc++ symbols on sparc64 (work around #792204).
git-svn-id: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-5@8170 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
Diffstat (limited to 'debian/rules.d')
-rw-r--r--debian/rules.d/binary-libstdcxx.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/rules.d/binary-libstdcxx.mk b/debian/rules.d/binary-libstdcxx.mk
index aa4f610..a8447cb 100644
--- a/debian/rules.d/binary-libstdcxx.mk
+++ b/debian/rules.d/binary-libstdcxx.mk
@@ -173,6 +173,9 @@ debian/README.libstdc++-baseline:
fi
# ----------------------------------------------------------------------
+# FIXME: see #792204, libstdc++ symbols on sparc64, for now ignore errors
+# for the 32bit multilib build
+
define __do_libstdcxx
dh_testdir
dh_testroot
@@ -213,7 +216,7 @@ define __do_libstdcxx
)
$(call cross_mangle_shlibs,$(p_l))
- $(ignshld)DIRNAME=$(subst n,,$(2)) $(cross_shlibdeps) dh_shlibdeps -p$(p_l) \
+ $(if $(filter sparc64, $(DEB_HOST_ARCH)),$(if $(2),-,$(ignshld)),$(ignshld))DIRNAME=$(subst n,,$(2)) $(cross_shlibdeps) dh_shlibdeps -p$(p_l) \
$(call shlibdirs_to_search,$(subst stdc++$(CXX_SONAME),gcc$(GCC_SONAME),$(p_l)),$(2))
$(call cross_mangle_substvars,$(p_l))