From 42af26b2d745da89e67fa71472a2b15535f4cbed Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 8 Aug 2021 10:59:13 +0200 Subject: [PATCH 1/2] Make libunwind-dev depends on libunwind --- debian/changelog | 6 ++++++ debian/control | 1 + 2 files changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index ce43e839..fdf5f694 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +llvm-toolchain-12 (1:12.0.1-4) UNRELEASED; urgency=medium + + * Make libunwind-dev depends on libunwind + + -- Sylvestre Ledru Sun, 08 Aug 2021 10:58:54 +0200 + llvm-toolchain-12 (1:12.0.1-3) unstable; urgency=medium * Build libunwind only on amd64 arm64 armhf i386 diff --git a/debian/control b/debian/control index 15fd434d..9ce586c5 100644 --- a/debian/control +++ b/debian/control @@ -739,6 +739,7 @@ Architecture: amd64 arm64 armhf i386 mips64el ppc64el ppc64 riscv64 sparc sparc6 Multi-Arch: same Depends: ${misc:Depends}, + libunwind-12 (= ${binary:Version}) Breaks: libunwind-dev Provides: libunwind-x.y-dev Conflicts: libunwind-x.y-dev From 4ea50e0e0fe5225b12f1b2621dbe03257def0be9 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 8 Aug 2021 11:01:49 +0200 Subject: [PATCH 2/2] Don't build libunwind on armel & mipsel --- debian/changelog | 1 + debian/rules | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index fdf5f694..a0d24c68 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ llvm-toolchain-12 (1:12.0.1-4) UNRELEASED; urgency=medium * Make libunwind-dev depends on libunwind + * Don't build libunwind on armel & mipsel -- Sylvestre Ledru Sun, 08 Aug 2021 10:58:54 +0200 diff --git a/debian/rules b/debian/rules index 480b488d..e3dc5078 100755 --- a/debian/rules +++ b/debian/rules @@ -190,7 +190,7 @@ endif # Enable libunwind (or not) LIBUNWIND_ENABLE=yes -ifneq (,$(filter $(DEB_HOST_ARCH), s390x)) +ifneq (,$(filter $(DEB_HOST_ARCH), s390x armel mipsel)) LIBUNWIND_ENABLE=no else PROJECTS+=;libunwind