--- qtbase-opensource-src-5.6.1+dfsg/debian/rules 2016-07-19 22:09:28.000000000 -0700
+++ qtbase-opensource-src-5.6.1+dfsg/debian/rules 2016-08-08 23:32:48.000000000 -0700
@@ -69,6 +69,12 @@
# Run tests only on archs known to pass in the past
testrun_architectures := amd64 armhf i386
+nogoldlinker_architectures := powerpc
+
+ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), $(nogoldlinker_architectures)))
+ extra_configure_opts += -no-use-gold-linker
+endif
+
ifeq ($(DEB_HOST_ARCH_OS),linux)
ifneq (,$(filter $(DEB_HOST_ARCH),alpha ia64 mips64 mips64el arm64))
platform_arg = linux-g++