build-style/void-cross: unify binutils options with template a bit
This commit is contained in:
parent
b61697a55a
commit
f2f3c6661b
|
@ -38,6 +38,17 @@ _void_cross_build_binutils() {
|
||||||
|
|
||||||
local ver=$1
|
local ver=$1
|
||||||
|
|
||||||
|
msg_normal "Patching binutils for ${cross_triplet}\n"
|
||||||
|
|
||||||
|
cd ${wrksrc}/binutils-${ver}
|
||||||
|
# enable when crosstoolchains are updated to latest binutils
|
||||||
|
#if [ -d "${XBPS_SRCPKGDIR}/binutils/patches" ]; then
|
||||||
|
# for f in ${XBPS_SRCPKGDIR}/binutils/patches/*.patch; do
|
||||||
|
# _void_cross_apply_patch -p1 "$f"
|
||||||
|
# done
|
||||||
|
#fi
|
||||||
|
cd ..
|
||||||
|
|
||||||
msg_normal "Building binutils for ${cross_triplet}\n"
|
msg_normal "Building binutils for ${cross_triplet}\n"
|
||||||
|
|
||||||
mkdir -p ${wrksrc}/binutils_build
|
mkdir -p ${wrksrc}/binutils_build
|
||||||
|
@ -55,9 +66,13 @@ _void_cross_build_binutils() {
|
||||||
--disable-multilib \
|
--disable-multilib \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
--disable-gold \
|
--disable-gold \
|
||||||
--with-system-zlib \
|
--enable-relro \
|
||||||
|
--enable-64-bit-bfd \
|
||||||
--enable-deterministic-archives \
|
--enable-deterministic-archives \
|
||||||
--enable-default-hash-style=gnu \
|
--enable-default-hash-style=gnu \
|
||||||
|
--with-system-zlib \
|
||||||
|
--with-mmap \
|
||||||
|
--with-pic \
|
||||||
${cross_binutils_configure_args}
|
${cross_binutils_configure_args}
|
||||||
|
|
||||||
make configure-host
|
make configure-host
|
||||||
|
|
Loading…
Reference in New Issue