summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-04-14 22:05:53 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-04-14 22:05:53 (GMT)
commitb491627228e2fe13aeedb8fa85f6e46932e6f88e (patch)
tree7001e49324ec29aeff7bf26e463ea08014f3e8f8
parenta6ec9c6052b69527383847e198f2ceb2f174211f (diff)
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>
-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 6a606ab..e64159c 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