diff options
author | Yann E. MORIN" <yann.morin.1998@free.fr> | 2013-05-03 17:12:15 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@free.fr> | 2013-05-03 17:12:15 +0000 |
commit | 71e10954b744417bdfb0be6335161d7277ed0ba3 (patch) | |
tree | 63a2e5f1818aad2f9447eaf744c751ef8aaef91c | |
parent | 14a96ce5a1bded0a972019958b0b6044ef10d8d4 (diff) | |
download | crosstool-ng-71e10954b744417bdfb0be6335161d7277ed0ba3.tar.gz crosstool-ng-71e10954b744417bdfb0be6335161d7277ed0ba3.tar.bz2 crosstool-ng-71e10954b744417bdfb0be6335161d7277ed0ba3.zip |
scripts: handle gcc 4.7 and 4.8 in addToolsVersion.sh
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
-rwxr-xr-x | scripts/addToolVersion.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/addToolVersion.sh b/scripts/addToolVersion.sh index 51d5167d..a2507223 100755 --- a/scripts/addToolVersion.sh +++ b/scripts/addToolVersion.sh @@ -111,7 +111,11 @@ addToolVersion() { # Extract 'M'ajor and 'm'inor from version string ver_M=$(getVersionField "${version}" . 1) ver_m=$(getVersionField "${version}" . 2) - if [ \( ${ver_M} -eq 4 -a ${ver_m} -eq 6 \) ]; then + if [ \( ${ver_M} -eq 4 -a ${ver_m} -eq 8 \) ]; then + SedExpr1="${SedExpr1}\n select CC_GCC_4_8" + elif [ \( ${ver_M} -eq 4 -a ${ver_m} -eq 7 \) ]; then + SedExpr1="${SedExpr1}\n select CC_GCC_4_7" + elif [ \( ${ver_M} -eq 4 -a ${ver_m} -eq 6 \) ]; then SedExpr1="${SedExpr1}\n select CC_GCC_4_6" elif [ \( ${ver_M} -eq 4 -a ${ver_m} -eq 5 \) ]; then SedExpr1="${SedExpr1}\n select CC_GCC_4_5" |