diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-07-30 08:51:11 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-07-30 08:54:53 +0000 |
commit | 5c904717322f8113870abf48cc93c3c8b00ab4e8 (patch) | |
tree | e077e5c3afa20630fd6e96db5872f03d622d639e /main/gdb/APKBUILD | |
parent | a879839450737e3cbdb64415af42347c97ccfa28 (diff) | |
download | aports-5c904717322f8113870abf48cc93c3c8b00ab4e8.tar.bz2 aports-5c904717322f8113870abf48cc93c3c8b00ab4e8.tar.xz |
[all autotools packages]: normalize ./configure
Diffstat (limited to 'main/gdb/APKBUILD')
-rw-r--r-- | main/gdb/APKBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
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 } |