summaryrefslogtreecommitdiff
path: root/util/crossgcc/buildgcc
diff options
context:
space:
mode:
Diffstat (limited to 'util/crossgcc/buildgcc')
-rwxr-xr-xutil/crossgcc/buildgcc10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index c436f8edc7..1d8e54c771 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -215,16 +215,16 @@ while true ; do
-G|--gdb) shift; SKIPGDB=0;;
-S|--scripting) shift; SKIPPYTHON=0;;
-y|--ccache) shift; USECCACHE=1;;
- --) shift; break;;
+ --) shift;;
-*) printf "Invalid option\n\n"; myhelp; exit 1;;
- *) break;;
+ *) ;;
esac
done
case "$TARGETARCH" in
- armv7a-eabi) break;;
- i386-elf) break;;
- i386-mingw32) break;;
+ armv7a-eabi) ;;
+ i386-elf) ;;
+ i386-mingw32) ;;
i386*) TARGETARCH=i386-elf;;
arm*) TARGETARCH=armv7a-eabi;;
*) printf "Invalid architecture\n\n"; myhelp; exit 1;;