diff --git a/debian/changelog b/debian/changelog index deaa92ac..0d1f3df8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,9 @@ llvm-toolchain-16 (1:16.0.6-18) UNRELEASED; urgency=medium [ Steve Langasek ] * Add noble as supported Ubuntu release + [ John Paul Adrian Glaubitz ] + * Don't run chrpath for libclang on sparc and sparc64 + -- Gianfranco Costamagna Wed, 25 Oct 2023 08:10:35 +0200 llvm-toolchain-16 (1:16.0.6-17exp1) experimental; urgency=medium diff --git a/debian/rules b/debian/rules index 60fa1d20..ef61242b 100755 --- a/debian/rules +++ b/debian/rules @@ -1024,7 +1024,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