cross-armv7l-linux-musleabihf: rebuild musl with PIC

This commit is contained in:
q66 2019-11-10 17:41:19 +01:00 committed by Helmut Pozimski
parent 0800b3dc2b
commit 294488bd33

View file

@ -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 <orphan@voidlinux.org>"
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}