aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/cc
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-04-15 00:05:53 +0200
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-04-15 00:05:53 +0200
commitb491627228e2fe13aeedb8fa85f6e46932e6f88e (patch)
tree7001e49324ec29aeff7bf26e463ea08014f3e8f8 /scripts/build/cc
parenta6ec9c6052b69527383847e198f2ceb2f174211f (diff)
downloadcrosstool-ng-b491627228e2fe13aeedb8fa85f6e46932e6f88e.tar.gz
crosstool-ng-b491627228e2fe13aeedb8fa85f6e46932e6f88e.tar.bz2
crosstool-ng-b491627228e2fe13aeedb8fa85f6e46932e6f88e.zip
cc/gcc: fix passing args with spaces when calling core gcc
Spaces in arguments to the core gcc backend were not handled. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'scripts/build/cc')
-rw-r--r--scripts/build/cc/gcc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh
index 6a606ab6..e64159c3 100644
--- a/scripts/build/cc/gcc.sh
+++ b/scripts/build/cc/gcc.sh
@@ -123,7 +123,7 @@ do_cc_core() {
local -a core_targets
while [ $# -ne 0 ]; do
- eval "${1}"
+ eval "${1// /\\ }"
shift
done