cc/gcc: fix passing args with spaces when calling core gcc
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Apr 15 00:05:53 2011 +0200 (2011-04-15)
changeset 25417cce5c8fc79a
parent 2540 158702c9f65a
child 2542 5efe494cf718
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>
scripts/build/cc/gcc.sh
     1.1 --- a/scripts/build/cc/gcc.sh	Tue Jul 05 00:54:06 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