diff -Nru llvm-toolchain-5.0-5.0/debian/changelog llvm-toolchain-5.0-5.0/debian/changelog --- llvm-toolchain-5.0-5.0/debian/changelog 2017-10-01 13:24:29.000000000 +0000 +++ llvm-toolchain-5.0-5.0/debian/changelog 2017-10-13 13:57:50.000000000 +0000 @@ -1,3 +1,10 @@ +llvm-toolchain-5.0 (1:5.0-3~ubuntu16.04.1) xenial; urgency=medium + + * Backport to xenial. (LP: #1716203) + - Don't build the Fuzzer library on powerpc. + + -- Timo Aaltonen Tue, 10 Oct 2017 18:09:29 +0300 + llvm-toolchain-5.0 (1:5.0-3) unstable; urgency=medium * Remove the -Wl option to call gold instead of the normal linker diff -Nru llvm-toolchain-5.0-5.0/debian/rules llvm-toolchain-5.0-5.0/debian/rules --- llvm-toolchain-5.0-5.0/debian/rules 2017-10-01 13:24:29.000000000 +0000 +++ llvm-toolchain-5.0-5.0/debian/rules 2017-10-10 15:19:24.000000000 +0000 @@ -174,7 +174,10 @@ ifeq (,$(filter $(DEB_HOST_ARCH_OS),linux)) LIBFUZZER_ENABLE=no endif - +ifneq (,$(filter $(DEB_HOST_ARCH), powerpc)) + LIBFUZZER_ENABLE=no + CMAKE_EXTRA += -DLLVM_ENABLE_FUZZER=OFF +endif %: dh $@ $(DH_OPTIONS)