mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-23 14:42:26 +00:00
scripts/addToolVersion: fix for gdb versions >= 7.2
Signed-off-by: Cody P Schafer <dev@codyps.com>
This commit is contained in:
parent
22126a402e
commit
6b1a230482
@ -167,8 +167,12 @@ addToolVersion() {
|
||||
# gdb-7.0 and above have special handling
|
||||
ver_M=$(getVersionField "${version}" . 1)
|
||||
if [ ${ver_M} -ge 7 ]; then
|
||||
if [ ${ver_m} -ge 2 ]; then
|
||||
SedExpr1="${SedExpr1}\n select GDB_7_2_or_later"
|
||||
else
|
||||
SedExpr1="${SedExpr1}\n select GDB_7_0_or_later"
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
SedExpr2=" default \"${version}\" if ${config_ver_option}"
|
||||
|
Loading…
Reference in New Issue
Block a user