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

This commit is contained in:
q66 2019-11-10 17:45:35 +01:00 committed by Helmut Pozimski
parent f25bd75ffc
commit cc4f665638
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ _sysroot="/usr/${_triplet}"
pkgname=cross-${_triplet}
version=0.32
revision=2
revision=3
short_desc="Cross toolchain for powerpc64 with musl"
maintainer="q66 <daniel@octaforge.org>"
homepage="https://www.voidlinux.org/"
@ -177,7 +177,7 @@ _libucontext_build() {
# it's ok if we're static only here
CC="${_triplet}-gcc" AR="${_triplet}-ar" AS="${_triplet}-as" \
CFLAGS="-Os -pipe ${_archflags}" \
CFLAGS="-Os -pipe -fPIC ${_archflags}" \
make ARCH=ppc64 libucontext.a
cp libucontext.a ${_sysroot}/usr/lib