cross-x86_64-linux-musl: rebuild musl with PIC

[ci skip]
This commit is contained in:
q66 2019-11-10 17:46:29 +01:00 committed by Helmut Pozimski
parent 0005b0263a
commit 675ab685f5

View file

@ -11,7 +11,7 @@ _sysroot="/usr/${_triplet}"
pkgname=cross-${_triplet}
version=0.32
revision=2
revision=3
archs="i686* x86_64 ppc64le"
short_desc="Cross toolchain for x86_64 with musl"
maintainer="Orphaned <orphan@voidlinux.org>"
@ -152,7 +152,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}