mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 17:12:55 +00:00
gcc and gdb: fix fetching linaro builds
linaro_version and linaro_series are defined but not set if we are not configured for linaro builds. Therefore we need to default them to "" (null string). As reported by @elsonwei Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
This commit is contained in:
parent
6df76e2c3e
commit
aee4142a9d
@ -4,8 +4,8 @@
|
||||
|
||||
# Download gcc
|
||||
do_cc_get() {
|
||||
local linaro_version
|
||||
local linaro_series
|
||||
local linaro_version=""
|
||||
local linaro_series=""
|
||||
local linaro_base_url="http://launchpad.net/gcc-linaro"
|
||||
|
||||
if [ "${CT_CC_CUSTOM}" = "y" ]; then
|
||||
|
@ -33,8 +33,8 @@ do_debug_gdb_parts() {
|
||||
}
|
||||
|
||||
do_debug_gdb_get() {
|
||||
local linaro_version
|
||||
local linaro_series
|
||||
local linaro_version=""
|
||||
local linaro_series=""
|
||||
local linaro_base_url="http://launchpad.net/gdb-linaro"
|
||||
|
||||
# Account for the Linaro versioning
|
||||
|
Loading…
x
Reference in New Issue
Block a user