cross-mips-linux-musl: rebuild musl with PIC
This commit is contained in:
parent
d9988b01df
commit
71d79e3dbd
@ -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 MIPS32r2 BE softfloat target (musl)"
|
short_desc="Cross toolchain for MIPS32r2 BE softfloat target (musl)"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
homepage="https://www.voidlinux.org/"
|
homepage="https://www.voidlinux.org/"
|
||||||
@ -144,7 +144,7 @@ _musl_build() {
|
|||||||
cd ${wrksrc}/musl-${_musl_version}
|
cd ${wrksrc}/musl-${_musl_version}
|
||||||
msg_normal "Building cross musl libc\n"
|
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
|
./configure --prefix=/usr
|
||||||
|
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user