From d9988b01df8864f454b74923a9ff78ba6ceb74c8 Mon Sep 17 00:00:00 2001 From: q66 Date: Sun, 10 Nov 2019 17:43:33 +0100 Subject: [PATCH] cross-mipsel-linux-muslhf: rebuild musl with PIC --- srcpkgs/cross-mipsel-linux-muslhf/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/cross-mipsel-linux-muslhf/template b/srcpkgs/cross-mipsel-linux-muslhf/template index cb2e4c9d6b..b6188decd2 100644 --- a/srcpkgs/cross-mipsel-linux-muslhf/template +++ b/srcpkgs/cross-mipsel-linux-muslhf/template @@ -12,7 +12,7 @@ _sysroot="/usr/${_triplet}" pkgname=cross-${_triplet} version=0.32 -revision=2 +revision=3 short_desc="Cross toolchain for MIPS32r2 LE hardfloat target (musl)" maintainer="Orphaned " homepage="https://www.voidlinux.org/" @@ -144,7 +144,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}