diff --git a/srcpkgs/cross-i686-linux-musl/template b/srcpkgs/cross-i686-linux-musl/template index e91747bcb2f..708568d96ce 100644 --- a/srcpkgs/cross-i686-linux-musl/template +++ b/srcpkgs/cross-i686-linux-musl/template @@ -12,7 +12,7 @@ _archflags="-march=i686" pkgname=cross-${_triplet} version=0.32 -revision=2 +revision=3 short_desc="Cross toolchain for i686 target (musl)" maintainer="Orphaned " homepage="https://www.voidlinux.org/" @@ -148,7 +148,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}