From 5c904717322f8113870abf48cc93c3c8b00ab4e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Tue, 30 Jul 2013 08:51:11 +0000 Subject: [all autotools packages]: normalize ./configure --- main/gdb/APKBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'main/gdb') diff --git a/main/gdb/APKBUILD b/main/gdb/APKBUILD index b9b4439be0..b4c45b7cb3 100644 --- a/main/gdb/APKBUILD +++ b/main/gdb/APKBUILD @@ -34,9 +34,10 @@ prepare() { build () { cd "$_builddir" - local _config="--prefix=/usr + local _config=" --build=$CBUILD --host=$CHOST + --prefix=/usr --target=$CTARGET --with-build-sysroot=$CBUILDROOT --disable-nls @@ -50,9 +51,8 @@ build () { # gdb server does not compile with musl [ "${CHOST#*musl}" != "$CHOST" ] && _config="$_config --disable-gdbserver" - ./configure $_config - cd opcodes && ./configure $_config || return 1 - cd .. + ./configure $_config || return 1 + (cd opcodes && ./configure $_config) || return 1 make || return 1 } -- cgit v1.2.3