mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-10-17 16:09:07 +00:00
add some debug info
This commit is contained in:
parent
e498c3cd6a
commit
4d0a1e4e44
4
debian/rules
vendored
4
debian/rules
vendored
@ -698,10 +698,14 @@ endif
|
||||
# PATH=$(CURDIR)/:$$PATH dh_strip -p liblld-$(LLVM_VERSION) --dbg-package=liblld-$(LLVM_VERSION)-dbg
|
||||
# endif
|
||||
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' binutils) lt 2.31.1-11 ; echo $$?),0)
|
||||
: # building with clang, binutils/strip has hard time stripping some libs because of
|
||||
: # https://sourceware.org/bugzilla/show_bug.cgi?id=23788
|
||||
: # use llvm-strip instead
|
||||
: # Workaround some issues with stripping by using llvm's
|
||||
if test ! -f $(CURDIR)/strip; then \
|
||||
ln -s $(CURDIR)/debian/llvm-$(LLVM_VERSION)/usr/lib/llvm-$(LLVM_VERSION)/bin/llvm-strip $(CURDIR)/strip; \
|
||||
fi
|
||||
ls -al $(CURDIR)/debian/.debhelper/*/dbgsym-root/usr/lib/debug/.build-id/*/* || true
|
||||
: # 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
|
||||
: # Remove the workaround
|
||||
|
Loading…
Reference in New Issue
Block a user