summaryrefslogtreecommitdiff
path: root/scripts/build/cc/gcc.sh
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2014-12-09 06:32:19 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2014-12-09 06:32:19 (GMT)
commitaee4142a9d335e72a40419d7151a25a0ff3dba33 (patch)
treeef9b7a97b3eff5cbffe49d9e039c79354f7a5e1d /scripts/build/cc/gcc.sh
parent6df76e2c3e5e9fe93a4e47e4f5f64554b8fde07d (diff)
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>
Diffstat (limited to 'scripts/build/cc/gcc.sh')
-rw-r--r--scripts/build/cc/gcc.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh
index ff82421..3d26d0c 100644
--- a/scripts/build/cc/gcc.sh
+++ b/scripts/build/cc/gcc.sh
@@ -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