diff --git a/srcpkgs/cross-powerpc64le-linux-musl/files/invalid_tls_model.patch b/srcpkgs/cross-powerpc64le-linux-musl/files/invalid_tls_model.patch new file mode 120000 index 00000000000..8f276dc0538 --- /dev/null +++ b/srcpkgs/cross-powerpc64le-linux-musl/files/invalid_tls_model.patch @@ -0,0 +1 @@ +../../gcc/patches/invalid_tls_model.patch \ No newline at end of file diff --git a/srcpkgs/cross-powerpc64le-linux-musl/template b/srcpkgs/cross-powerpc64le-linux-musl/template index 18aa4e447f3..6f95059e732 100644 --- a/srcpkgs/cross-powerpc64le-linux-musl/template +++ b/srcpkgs/cross-powerpc64le-linux-musl/template @@ -9,7 +9,7 @@ _sysroot="/usr/${_triplet}" pkgname=cross-${_triplet} version=0.31 -revision=1 +revision=2 short_desc="Cross toolchain for powerpc64le with musl" maintainer="q66 " homepage="https://www.voidlinux.org/" @@ -87,6 +87,7 @@ _gcc_bootstrap() { _apply_patch -p0 ${FILESDIR}/libgcc-musl-ldbl128-config.patch _apply_patch -p0 ${FILESDIR}/musl-ada.patch _apply_patch -p1 ${FILESDIR}/libgnarl-musl.patch + _apply_patch -p0 ${FILESDIR}/invalid_tls_model.patch sed -i 's/lib64/lib/' gcc/config/rs6000/linux64.h