diff --git a/srcpkgs/cross-arm-linux-musleabihf/template b/srcpkgs/cross-arm-linux-musleabihf/template index 7cc4caba41..6a1128f98a 100644 --- a/srcpkgs/cross-arm-linux-musleabihf/template +++ b/srcpkgs/cross-arm-linux-musleabihf/template @@ -13,7 +13,7 @@ _sysroot="/usr/${_triplet}" pkgname=cross-${_triplet} version=0.32 -revision=2 +revision=3 short_desc="Cross toolchain for ARMv6 LE Hard Float target (musl)" maintainer="Orphaned " homepage="https://www.voidlinux.org/" @@ -149,7 +149,7 @@ _musl_build() { cd ${wrksrc}/musl-${_musl_version} msg_normal "Building cross musl libc\n" - CC="${_triplet}-gcc" CFLAGS="-Os -pipe ${_archflags}" \ + CC="${_triplet}-gcc" CFLAGS="-Os -pipe -fPIC ${_archflags}" \ ./configure --prefix=/usr make ${makejobs}