commit 1927278bfae34067f3006f13d739c0351f14a1d2 from: Benjamin Stürz date: Sat Jun 15 22:22:05 2024 UTC fix toolchain bug when compiling on powerpc64-clang Refs: https://gcc.gnu.org/pipermail/gcc-patches/2024-March/648006.html https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239266 commit - 85165aafc2dca81d4df459965dbece1f75f9c2cb commit + 1927278bfae34067f3006f13d739c0351f14a1d2 blob - eb82ae0f10499c0ce9dde16c9e0bef4f28c22d58 blob + 8e96461c6ea9ec7ff7dd35279462fc090ecc607e --- tools/Makefile +++ tools/Makefile @@ -176,7 +176,9 @@ ${STAMPS}/binutils-install: ${STAMPS}/binutils-build ${STAMPS}/gcc-configure: ${STAMPS}/gcc-extract ${STAMPS}/binutils-install ${STAMPS}/gmp ${STAMPS}/mpfr ${STAMPS}/mpc mkdir -p ${TOOLS}/build/gcc/build cd ${TOOLS}/build/gcc/build \ - && CC="${CC}" CXX="${CXX}" ../configure \ + && CC="${CC}" CXX="${CXX}" \ + CXXFLAGS="${CXXFLAGS} -Dvec_step=\"xvec_step\"" \ + ../configure \ --prefix=${PREFIX} \ --target=${TARGET} \ --with-system-zlib \