cross-x86_64-linux-musl: rebuild musl with PIC
[ci skip]
This commit is contained in:
@@ -11,7 +11,7 @@ _sysroot="/usr/${_triplet}"
|
|||||||
|
|
||||||
pkgname=cross-${_triplet}
|
pkgname=cross-${_triplet}
|
||||||
version=0.32
|
version=0.32
|
||||||
revision=2
|
revision=3
|
||||||
archs="i686* x86_64 ppc64le"
|
archs="i686* x86_64 ppc64le"
|
||||||
short_desc="Cross toolchain for x86_64 with musl"
|
short_desc="Cross toolchain for x86_64 with musl"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
@@ -152,7 +152,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}
|
||||||
|
|||||||
Reference in New Issue
Block a user