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