Skip to content

Commit

Permalink
makeGcc: Fixed argument parsing to allow compilation of versions 5-9
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Bainbridge committed Apr 8, 2022
1 parent 588fb48 commit 1aa9e08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions makeGcc
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,19 @@ do
GCC_BUILD_OPTIONS="--disable-multilib"
shift
;;
gmp-[4-9]*)
gmp-[4-9].*)
gmpPACKAGE="${1%%/}"
shift
;;
mpfr-[2-9]*)
mpfr-[2-9].*)
mpfrPACKAGE="${1%%/}"
shift
;;
mpc-[0-9]*)
mpc-[0-9].*)
mpcPACKAGE="${1%%/}"
shift
;;
gcc-[4-11]*)
gcc-[4-9].*|gcc-[1-9][0-9].*)
gccPACKAGE="${1%%/}"
shift
;;
Expand Down

0 comments on commit 1aa9e08

Please sign in to comment.