diff --git a/srcpkgs/cross-powerpc-linux-gnu/files/libgcc-ibm128-no-tag.patch b/srcpkgs/cross-powerpc-linux-gnu/files/libgcc-ibm128-no-tag.patch new file mode 120000 index 00000000000..ce268dbe9b2 --- /dev/null +++ b/srcpkgs/cross-powerpc-linux-gnu/files/libgcc-ibm128-no-tag.patch @@ -0,0 +1 @@ +../../gcc/patches/libgcc-ibm128-no-tag.patch \ No newline at end of file diff --git a/srcpkgs/cross-powerpc-linux-gnu/template b/srcpkgs/cross-powerpc-linux-gnu/template index c36b8c1c307..3ac5b152b3d 100644 --- a/srcpkgs/cross-powerpc-linux-gnu/template +++ b/srcpkgs/cross-powerpc-linux-gnu/template @@ -10,7 +10,7 @@ _sysroot="/usr/${_triplet}" pkgname=cross-${_triplet} version=0.32 -revision=1 +revision=2 short_desc="GNU Cross toolchain for the ${_triplet} target (binutils/gcc/glibc)" maintainer="Thomas Batten " homepage="http://www.voidlinux.org" @@ -94,6 +94,7 @@ _gcc_bootstrap() { cd ${wrksrc}/gcc-${_gcc_version} _apply_patch -p0 ${FILESDIR}/fix-cxxflags-passing.patch + _apply_patch -p0 ${FILESDIR}/libgcc-ibm128-no-tag.patch msg_normal "Building cross gcc bootstrap\n" @@ -198,6 +199,7 @@ _glibc_build() { _args+=" --enable-obsolete-nsl" _args+=" --disable-profile" _args+=" --enable-kernel=2.6.27" + _args+=" --disable-werror" ../glibc-${_glibc_version}/configure ${_args}