From 40bb8f430d1adf3011c0cbb82f7b505eb1c25490 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Sun, 20 Mar 2016 18:00:10 +0900 Subject: gdb.morph: configure --disable-tui when building for arm. The gdb build fails in the tui directory on armv5l, found this random webpage which recommends --disable-tui when building gdb for arm as well: https://how-to-build-for-arm.wikispaces.com/gdb Conclusion, just disable tui for gdb arm. --- strata/tools/gdb.morph | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/strata/tools/gdb.morph b/strata/tools/gdb.morph index 6f60da9e..e543940c 100644 --- a/strata/tools/gdb.morph +++ b/strata/tools/gdb.morph @@ -2,5 +2,10 @@ name: gdb kind: chunk build-system: autotools configure-commands: -- ./configure --prefix="$PREFIX" --disable-werror --disable-gas --disable-binutils - --disable-ld --disable-gold --disable-gprof +- | + case "$MORPH_ARCH" in + arm*) ARCH_FLAGS="--disable-tui" ;; + esac + ./configure --prefix="$PREFIX" $ARCH_FLAGS --disable-werror \ + --disable-gas --disable-binutils \ + --disable-ld --disable-gold --disable-gprof -- cgit v1.2.1