aboutsummaryrefslogtreecommitdiffstats
path: root/main/binutils/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/binutils/APKBUILD')
-rw-r--r--main/binutils/APKBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/main/binutils/APKBUILD b/main/binutils/APKBUILD
index a2aa83b482..acc1ad4345 100644
--- a/main/binutils/APKBUILD
+++ b/main/binutils/APKBUILD
@@ -30,18 +30,20 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--with-build-sysroot="${CBUILDROOT}" \
- --build=${CBUILD} \
- --host=${CHOST} \
--target=${CTARGET} \
--disable-multilib \
--enable-shared \
--enable-64-bit-bfd \
--disable-werror \
- --disable-nls
+ --disable-nls \
+ || return 1
make || return 1
}