don't fail build if chrpath fails.
authorPeter Michael Green <plugwash@raspbian.org>
Thu, 21 Mar 2024 11:33:20 +0000 (11:33 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 21 Mar 2024 22:41:44 +0000 (22:41 +0000)
debian/changelog
debian/rules

index 31b46787f9b8248356a70aeb21e244a05e04a34a..5cecb561617c7d39cb45bb51efd625741fc4578b 100644 (file)
@@ -47,6 +47,7 @@ llvm-toolchain-16 (1:16.0.6-20+rpi1) trixie-staging; urgency=medium
   * Remove armhf from spirv architecture list, llvm-spirv-16 fails to build on raspbian.
   * Don't build sanitiser support in compiler_rt on armhf, it fails to link
     on raspbian.
+  * Don't fail build if chrpath fails.
 
  -- Peter Michael Green <plugwash@raspbian.org>  Sat, 16 Mar 2024 12:15:03 +0000
 
index b892724cbdc72ea30ca91466516ae90487ab5962..6cf0b1b364789eb19e831661a3313ba3ffb8d671 100755 (executable)
@@ -1053,7 +1053,7 @@ override_dh_auto_install:
 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
+       -chrpath -d $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/clang/$(LLVM_VERSION)*/lib/linux/*.so
 endif
 endif