* dh_strip should be verbose

* On Stretch (binutils 2.28), do not run strip on libFuzzer.a, libc++.a
  & libc++abi.a because it segfaults
This commit is contained in:
Sylvestre Ledru 2018-08-17 10:06:18 +02:00
commit c1e7f197ef
2 changed files with 9 additions and 1 deletions

3
debian/changelog vendored
View File

@ -12,6 +12,9 @@ llvm-toolchain-snapshot (1:8~svn336894-1~exp1) experimental; urgency=medium
clang_Type_getObjCProtocolDecl
clang_Type_getObjCTypeArg
* python-recommonmark is a new build dep for the sphinx doc
* dh_strip should be verbose
* On Stretch (binutils 2.28), do not run strip on libFuzzer.a, libc++.a
& libc++abi.a because it segfaults
* Disable force-gcc-header-obj.diff as it is introducing
some regressions in the search headers
(Closes: #903709)

7
debian/rules vendored
View File

@ -597,7 +597,12 @@ endif
# ifeq (${LLD_ENABLE},yes)
# dh_strip -p liblld-$(LLVM_VERSION) --dbg-package=liblld-$(LLVM_VERSION)-dbg
# endif
dh_strip -a
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' binutils) ge 2.28 ; echo $$?),0)
# strip segfaults on libFuzzer.a
dh_strip -a -v -XlibFuzzer.a -Xlibc++.a -Xlibc++abi.a
else
dh_strip -a -v
endif
override_dh_install: