The -Wl,--as-needed linker flag causes the std::unique_ptr configure test to fail due to undefined reference errors. A fallback exists, using std::auto_ptr, but it has been removed from the C++17 standard, used by upstream. Remove the use of -Wl,--as-needed on powerpc, so we use the same code on all archs, instead of reenabling std::auto_ptr by force. OK thfr@ (maintainer)