aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/cc/gcc.sh
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-05-18 23:00:46 +0200
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-05-18 23:00:46 +0200
commitc4bb88466eba7f25ab23f71859a8cff43b30f62c (patch)
treeb4d1be32cd9e63fb987f0d8b3f0e79113a967052 /scripts/build/cc/gcc.sh
parentb00e501d7c77db553d81cb98fe2d0c3f29e652d4 (diff)
downloadcrosstool-ng-c4bb88466eba7f25ab23f71859a8cff43b30f62c.tar.gz
crosstool-ng-c4bb88466eba7f25ab23f71859a8cff43b30f62c.tar.bz2
crosstool-ng-c4bb88466eba7f25ab23f71859a8cff43b30f62c.zip
config: rename variables that are arrays
Make it explicit that a variable is an array bu the name of the variable. It will be used later when .config gets munged to allow both multiple arguments and arguments with spaces at the same time to be passed from the configuration down to the build scripts. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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 33b2c158..b7db77ea 100644
--- a/scripts/build/cc/gcc.sh
+++ b/scripts/build/cc/gcc.sh
@@ -276,7 +276,7 @@ do_cc_core() {
--disable-nls \
--enable-symvers=gnu \
--enable-languages="${lang_opt}" \
- "${CT_CC_CORE_EXTRA_CONFIG[@]}"
+ "${CT_CC_CORE_EXTRA_CONFIG_ARRAY[@]}"
if [ "${build_libgcc}" = "yes" ]; then
# HACK: we need to override SHLIB_LC from gcc/config/t-slibgcc-elf-ver or
@@ -555,7 +555,7 @@ do_cc() {
--enable-symvers=gnu \
--enable-c99 \
--enable-long-long \
- "${CT_CC_EXTRA_CONFIG[@]}"
+ "${CT_CC_EXTRA_CONFIG_ARRAY[@]}"
if [ "${CT_CANADIAN}" = "y" ]; then
CT_DoLog EXTRA "Building libiberty"