summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/crossgcc/buildgcc5
1 files changed, 3 insertions, 2 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index dc6540d314..e4a6d473ee 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -627,9 +627,10 @@ case "$PACKAGE" in
;;
GDB|gdb)
NAME="${TARGETARCH} cross GDB"
- PACKAGES="GDB"
if [ $SKIPPYTHON -eq 0 ]; then
- PACKAGES="EXPAT PYTHON $PACKAGES"
+ PACKAGES="EXPAT PYTHON GDB"
+ else
+ PACKAGES="EXPAT GDB"
fi
;;
CLANG|clang)