diff --git a/srcpkgs/cross-powerpc64-linux-musl/template b/srcpkgs/cross-powerpc64-linux-musl/template index 7fb01606f0c..ab1c473250e 100644 --- a/srcpkgs/cross-powerpc64-linux-musl/template +++ b/srcpkgs/cross-powerpc64-linux-musl/template @@ -10,7 +10,7 @@ _sysroot="/usr/${_triplet}" pkgname=cross-${_triplet} version=0.32 -revision=2 +revision=3 short_desc="Cross toolchain for powerpc64 with musl" maintainer="q66 " homepage="https://www.voidlinux.org/" @@ -177,7 +177,7 @@ _libucontext_build() { # it's ok if we're static only here CC="${_triplet}-gcc" AR="${_triplet}-ar" AS="${_triplet}-as" \ - CFLAGS="-Os -pipe ${_archflags}" \ + CFLAGS="-Os -pipe -fPIC ${_archflags}" \ make ARCH=ppc64 libucontext.a cp libucontext.a ${_sysroot}/usr/lib