summaryrefslogtreecommitdiff
path: root/scripts/0600-build-target-gdb.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/0600-build-target-gdb.sh')
-rwxr-xr-xscripts/0600-build-target-gdb.sh20
1 files changed, 10 insertions, 10 deletions
diff --git a/scripts/0600-build-target-gdb.sh b/scripts/0600-build-target-gdb.sh
index 8e984d8..8bd5a68 100755
--- a/scripts/0600-build-target-gdb.sh
+++ b/scripts/0600-build-target-gdb.sh
@@ -10,16 +10,16 @@ tar xf /downloads/gdb-$GDB_VERSION.tar.xz
cd .build
-../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 \
+../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=/usr/bin/python${PYTHON_VERSION} \
+ --with-expat=yes \
+ --with-zlib=yes \
CPPFLAGS="-I$STATIC_DEPS_PREFIX/include -I$STATIC_DEPS_PREFIX/include/ncursesw" \
LDFLAGS="-L$STATIC_DEPS_PREFIX/lib"