Skip to content

Commit

Permalink
Build gdb without python by default
Browse files Browse the repository at this point in the history
It is causing issues on Archlinux
  • Loading branch information
sharkwouter committed Jan 24, 2025
1 parent 4c017a9 commit daaef15
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions scripts/001-binutils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit daaef15

Please sign in to comment.