From 294488bd33af945fe1500e1595314137da5ec4b9 Mon Sep 17 00:00:00 2001 From: q66 Date: Sun, 10 Nov 2019 17:41:19 +0100 Subject: [PATCH] cross-armv7l-linux-musleabihf: rebuild musl with PIC --- srcpkgs/cross-armv7l-linux-musleabihf/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/cross-armv7l-linux-musleabihf/template b/srcpkgs/cross-armv7l-linux-musleabihf/template index 8ff4197411..3fd8e2132d 100644 --- a/srcpkgs/cross-armv7l-linux-musleabihf/template +++ b/srcpkgs/cross-armv7l-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 ARMv7 LE Hard Float target (musl)" maintainer="Orphaned " homepage="https://www.voidlinux.org/" @@ -150,7 +150,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}