Commit f7bf2ccf authored by Timo Teräs's avatar Timo Teräs
Browse files

main/binutils: remove libiberty from cross builds

parent 0f582e6a
......@@ -37,7 +37,13 @@ prepare() {
build() {
local _sysroot=/
[ "$CHOST" != "$CTARGET" ] && _sysroot="$CBUILDROOT"
local _cross_configure="--enable-install-libiberty"
if [ "$CHOST" != "$CTARGET" ]; then
_sysroot="$CBUILDROOT"
_cross_configure="--disable-install-libiberty"
fi
cd "$_builddir"
./configure \
--build=$CBUILD \
......@@ -54,7 +60,7 @@ build() {
--enable-gold=yes \
--enable-64-bit-bfd \
--enable-plugins \
--enable-install-libiberty \
$_cross_configure \
--disable-werror \
--disable-nls \
|| return 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment