mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 04:47:52 +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,7 +167,11 @@ addToolVersion() {
|
||||
# gdb-7.0 and above have special handling
|
||||
ver_M=$(getVersionField "${version}" . 1)
|
||||
if [ ${ver_M} -ge 7 ]; then
|
||||
SedExpr1="${SedExpr1}\n select GDB_7_0_or_later"
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user