mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-27 04:51:34 +00:00
Don't run chrpath for libclang on sparc and sparc64
This commit is contained in:
parent
f0fcfca366
commit
fecd5d216d
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -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 <glaubitz@physik.fu-berlin.de> Thu, 09 Nov 2023 10:07:49 +0100
|
||||
|
||||
llvm-toolchain-17 (1:17.0.4-1) unstable; urgency=medium
|
||||
|
||||
[ Matthias Klose ]
|
||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user