summaryrefslogtreecommitdiffhomepage
path: root/vars/gcc.vars
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2018-04-30 11:26:08 +0200
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2018-04-30 11:26:08 +0200
commit907bd31236a1b9ce11702cbd1ec792a07d74ab60 (patch)
tree1d24fdf9810c38e4c54983d65bcfcd6607d4fefd /vars/gcc.vars
parente7f40a6a3266a5072c7a2a9a75722b7743ca3b02 (diff)
downloadmidipix_build-907bd31236a1b9ce11702cbd1ec792a07d74ab60.tar.bz2
midipix_build-907bd31236a1b9ce11702cbd1ec792a07d74ab60.tar.xz
Correctly (zero-)initialise all locals.
Diffstat (limited to 'vars/gcc.vars')
-rw-r--r--vars/gcc.vars6
1 files changed, 3 insertions, 3 deletions
diff --git a/vars/gcc.vars b/vars/gcc.vars
index f3ea88df..5afa276c 100644
--- a/vars/gcc.vars
+++ b/vars/gcc.vars
@@ -9,7 +9,7 @@ pkgp_gcc_build_dir() {
};
pkgp_gcc_setup_env() {
- local __;
+ local __="";
export MAKE="make LIBTOOL=slibtool";
export cbb_target="${PKG_TARGET}";
case "${PKG_NAME}" in
@@ -101,7 +101,7 @@ pkg_gcc_stage1_native_mingw32_all() {
};
pkg_gcc_stage1_all() {
- local __ _restart_at="${1}";
+ local __="" _restart_at="${1}";
case "${PKG_NAME}" in
gcc_stage1_host)
pkgp_gcc_build_dir "cbb-gcc-${PKG_VERSION}" cross;
@@ -257,7 +257,7 @@ pkg_gcc_full_host_all() {
};
pkg_gcc_full_all() {
- local _restart_at="${1}" _configure_host;
+ local _restart_at="${1}" _configure_host="";
export MAKE="make LIBTOOL=slibtool";
# GCC, native.
pkgp_gcc_build_dir "cbb-gcc-${PKG_VERSION}" native;