diff --git a/debian/changelog b/debian/changelog index fa451ae9..694d7869 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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) diff --git a/debian/rules b/debian/rules index f3735262..ce7158a9 100755 --- a/debian/rules +++ b/debian/rules @@ -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: