mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-12-30 16:55:20 +00:00
run strip using fakeroot to avoid some issues like: chown: changing ownership of 'debian/.debhelper/clang-8/dbgsym-root/usr/lib/debug/.build-id/98/91e0beba57ee5ec69fd03c519f19351e353875.debug': Operation not permitted
This commit is contained in:
parent
6cebc97091
commit
f490b5b1ec
2
debian/rules
vendored
2
debian/rules
vendored
@ -703,7 +703,7 @@ ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' bin
|
||||
ln -s $(CURDIR)/debian/llvm-$(LLVM_VERSION)/usr/lib/llvm-$(LLVM_VERSION)/bin/llvm-strip $(CURDIR)/strip; \
|
||||
fi
|
||||
: # strip segfaults on libFuzzer.a and other libs
|
||||
PATH=$(CURDIR)/:$$PATH LD_LIBRARY_PATH=$(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/:/usr/lib/*/libfakeroot dh_strip -a -v
|
||||
PATH=$(CURDIR)/:$$PATH LD_LIBRARY_PATH=$(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/ fakeroot dh_strip -a -v
|
||||
: # Remove the workaround
|
||||
rm $(CURDIR)/strip
|
||||
: # for some reasons, the +x might be removed
|
||||
|
||||
Loading…
Reference in New Issue
Block a user