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)
commit0d319daf2de6ebf027c01b279ee33966fdfc859e (patch)
treec31f3d72b4bf2f8757ddcd154e19999558a88b99
parent7839c6af5c75ce5c557ddd62e05354f2aad1fc76 (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> (transplanted from 7cce5c8fc79a62bca1e448fc721e7209ac85d204)
-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 3ae1bef..8a88342 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