cross-aarch64-linux-musl: rebuild musl with PIC
This commit is contained in:
@@ -12,7 +12,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 ARM64 LE target (musl)"
|
short_desc="Cross toolchain for ARM64 LE target (musl)"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
homepage="https://www.voidlinux.org/"
|
homepage="https://www.voidlinux.org/"
|
||||||
@@ -147,7 +147,7 @@ _musl_build() {
|
|||||||
|
|
||||||
CC="${_triplet}-gcc" LD="${_triplet}-ld" AR="${_triplet}-ar" \
|
CC="${_triplet}-gcc" LD="${_triplet}-ld" AR="${_triplet}-ar" \
|
||||||
AS="${_triplet}-as" RANLIB="${_triplet}-ranlib" \
|
AS="${_triplet}-as" RANLIB="${_triplet}-ranlib" \
|
||||||
CFLAGS="-Os -pipe ${_archflags}" \
|
CFLAGS="-Os -pipe -fPIC ${_archflags}" \
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
|
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
|
|||||||
Reference in New Issue
Block a user