diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2016-03-20 18:00:10 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2016-03-20 20:21:20 +0900 |
commit | 40bb8f430d1adf3011c0cbb82f7b505eb1c25490 (patch) | |
tree | 1d22d076870b89402d7659536158542f99c333e5 /strata/tools/gdb.morph | |
parent | 73fb47f70c95b62138a4c59a80464a58dde200ae (diff) | |
download | definitions-40bb8f430d1adf3011c0cbb82f7b505eb1c25490.tar.gz |
gdb.morph: configure --disable-tui when building for arm.baserock/tristan/wip/aboriginal
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.
Diffstat (limited to 'strata/tools/gdb.morph')
-rw-r--r-- | strata/tools/gdb.morph | 9 |
1 files 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 |