mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-27 09:50:53 +00:00
Run chrpath for libclang on sparc and sparc64
This commit is contained in:
parent
34affc3768
commit
88f4607443
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -2,6 +2,7 @@ llvm-toolchain-18 (1:18.1.0~rc2-4) UNRELEASED; urgency=medium
|
|||||||
|
|
||||||
[ John Paul Adrian Glaubitz ]
|
[ John Paul Adrian Glaubitz ]
|
||||||
* Install *clang_rt* on sparc and sparc64
|
* Install *clang_rt* on sparc and sparc64
|
||||||
|
* Run chrpath for libclang on sparc and sparc64
|
||||||
|
|
||||||
-- John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Fri, 16 Feb 2024 09:53:15 +0100
|
-- John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Fri, 16 Feb 2024 09:53:15 +0100
|
||||||
|
|
||||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -1132,7 +1132,7 @@ override_dh_auto_install:
|
|||||||
|
|
||||||
# Only run on executable, not script
|
# 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`
|
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 sparc sparc64))
|
ifeq (,$(filter $(DEB_HOST_ARCH), powerpc powerpcspe))
|
||||||
ifneq (,$(filter $(DEB_HOST_ARCH_OS),linux))
|
ifneq (,$(filter $(DEB_HOST_ARCH_OS),linux))
|
||||||
# To fix custom-library-search-path
|
# 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
|
||||||
|
Loading…
Reference in New Issue
Block a user