From daaef15bd6d8d1c1ade9969daf2470d0e9dd63a8 Mon Sep 17 00:00:00 2001 From: Wouter Wijsman Date: Fri, 24 Jan 2025 09:07:43 +0100 Subject: [PATCH] Build gdb without python by default It is causing issues on Archlinux --- scripts/001-binutils.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/scripts/001-binutils.sh b/scripts/001-binutils.sh index 6b982ec..e84b506 100755 --- a/scripts/001-binutils.sh +++ b/scripts/001-binutils.sh @@ -54,13 +54,9 @@ PROC_NR=$(getconf _NPROCESSORS_ONLN) ## Create and enter the toolchain/build directory rm -rf build-$TARGET && mkdir build-$TARGET && cd build-$TARGET -## Build GDB without python support when built with a GitHub Action -## This makes the pre-build executable work on more systems -if [ -n "$CI" ]; then - WITH_PYTHON="no" -else - WITH_PYTHON="auto" -fi +## Build GDB without python support by default +## Set the environment variable WITH_PYTHON to auto to change this +WITH_PYTHON="${WITH_PYTHON:-no}" ## Configure the build. ../configure \