From fecd5d216d993a92c8eac41c7a02a4270cab6de6 Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Thu, 9 Nov 2023 10:08:32 +0100 Subject: [PATCH] Don't run chrpath for libclang on sparc and sparc64 --- debian/changelog | 7 +++++++ debian/rules | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 26f668e5..576bcd1b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +llvm-toolchain-17 (1:17.0.4-2) UNRELEASED; urgency=medium + + [ John Paul Adrian Glaubitz ] + * Don't run chrpath for libclang on sparc and sparc64 + + -- John Paul Adrian Glaubitz Thu, 09 Nov 2023 10:07:49 +0100 + llvm-toolchain-17 (1:17.0.4-1) unstable; urgency=medium [ Matthias Klose ] diff --git a/debian/rules b/debian/rules index cb65d3f9..e9e93a18 100755 --- a/debian/rules +++ b/debian/rules @@ -1080,7 +1080,7 @@ override_dh_auto_install: # Only run on executable, not script chrpath -d `find $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/bin/ -type f -executable -exec file -i '{}' \; | grep 'x-executable; charset=binary'|cut -d: -f1` -ifeq (,$(filter $(DEB_HOST_ARCH), powerpc powerpcspe)) +ifeq (,$(filter $(DEB_HOST_ARCH), powerpc powerpcspe sparc sparc64)) ifneq (,$(filter $(DEB_HOST_ARCH_OS),linux)) # To fix custom-library-search-path chrpath -d $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/clang/$(LLVM_VERSION)*/lib/linux/*.so