mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-12-29 02:27:20 +00:00
Merge branch 'snapshot' of salsa.debian.org:pkg-llvm-team/llvm-toolchain into snapshot
This commit is contained in:
commit
782af7ddc7
3
debian/rules
vendored
3
debian/rules
vendored
@ -700,6 +700,9 @@ 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; \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user