mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-26 21:37:07 +00:00
Don't run chrpath for libclang on powerpc and powerpcspe
This commit is contained in:
parent
4a5259b918
commit
0af59c9be3
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -10,6 +10,9 @@ llvm-toolchain-15 (1:15.0.7-2) UNRELEASED; urgency=medium
|
||||
[ Samuel Thibault ]
|
||||
* Fix disabling amdgpu on non-Linux.
|
||||
|
||||
[ John Paul Adrian Glaubitz ]
|
||||
* Don't run chrpath for libclang on powerpc and powerpcspe
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Sun, 15 Jan 2023 10:54:41 +0100
|
||||
|
||||
llvm-toolchain-15 (1:15.0.7-1) unstable; urgency=medium
|
||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -988,8 +988,10 @@ 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))
|
||||
# To fix custom-library-search-path
|
||||
chrpath -d $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/clang/$(LLVM_VERSION)*/lib/linux/*.so
|
||||
endif
|
||||
|
||||
: # libclang
|
||||
cd debian/tmp/usr/lib/llvm-$(LLVM_VERSION)/lib/ && \
|
||||
|
Loading…
Reference in New Issue
Block a user