From 552a0482af54cd856f14c8fa138fff63d4e0b926 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Fri, 24 Oct 2025 14:50:52 +0200 Subject: toolchain: switch to semi-static toolchain --- scripts/0600-build-target-gdb.sh | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'scripts/0600-build-target-gdb.sh') diff --git a/scripts/0600-build-target-gdb.sh b/scripts/0600-build-target-gdb.sh index 85184de..8e984d8 100755 --- a/scripts/0600-build-target-gdb.sh +++ b/scripts/0600-build-target-gdb.sh @@ -10,9 +10,18 @@ tar xf /downloads/gdb-$GDB_VERSION.tar.xz cd .build -../gdb-$GDB_VERSION/configure \ - --prefix=/opt/toolchain \ - --target=$TARGET +../gdb-$GDB_VERSION/configure \ + --prefix=/opt/toolchain \ + --target=$TARGET \ + --disable-nls \ + --disable-werror \ + --with-gmp=$STATIC_DEPS_PREFIX \ + --with-mpfr=$STATIC_DEPS_PREFIX \ + --with-python=no \ + --with-expat=yes \ + --with-zlib=yes \ + CPPFLAGS="-I$STATIC_DEPS_PREFIX/include -I$STATIC_DEPS_PREFIX/include/ncursesw" \ + LDFLAGS="-L$STATIC_DEPS_PREFIX/lib" make -j$(nproc) all-gdb make install-strip-gdb -- cgit v1.2.3