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)
This commit is contained in:
Yann E. MORIN" 2011-04-15 00:05:53 +02:00
parent 7839c6af5c
commit 0d319daf2d

View File

@ -123,7 +123,7 @@ do_cc_core() {
local -a core_targets
while [ $# -ne 0 ]; do
eval "${1}"
eval "${1// /\\ }"
shift
done