cc/gcc: fix passing args with spaces when calling core gcc 1.11
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Apr 15 00:05:53 2011 +0200 (2011-04-15)
branch1.11
changeset 2555cb36b0091671
parent 2554 e378a7ccc345
child 2556 1c0580ebdf9d
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)
scripts/build/cc/gcc.sh
     1.1 --- a/scripts/build/cc/gcc.sh	Tue Jun 28 23:46:04 2011 +0200
     1.2 +++ b/scripts/build/cc/gcc.sh	Fri Apr 15 00:05:53 2011 +0200
     1.3 @@ -123,7 +123,7 @@
     1.4      local -a core_targets
     1.5  
     1.6      while [ $# -ne 0 ]; do
     1.7 -        eval "${1}"
     1.8 +        eval "${1// /\\ }"
     1.9          shift
    1.10      done
    1.11