File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 165165 shift 1
166166 ;;
167167 -I)
168- p=$( cygpath -m $2 )
169- args=" $args -I$p "
170- includes=" $includes -I$p "
168+ p=$( cygpath -ma " $2 " )
169+ args=" $args -I\" $p \" "
170+ includes=" $includes -I\" $p \" "
171171 shift 2
172172 ;;
173173 -I* )
174- p=$( cygpath -m ${1# -I} )
175- args=" $args -I$p "
176- includes=" $includes -I$p "
174+ p=$( cygpath -ma " ${1# -I} " )
175+ args=" $args -I\" $p \" "
176+ includes=" $includes -I\" $p \" "
177177 shift 1
178178 ;;
179179 -L)
180- p=$( cygpath -m $2 )
180+ p=$( cygpath -ma $2 )
181181 linkargs=" $linkargs -LIBPATH:$p "
182182 shift 2
183183 ;;
184184 -L* )
185- p=$( cygpath -m ${1# -L} )
185+ p=$( cygpath -ma ${1# -L} )
186186 linkargs=" $linkargs -LIBPATH:$p "
187187 shift 1
188188 ;;
256256 shift 2
257257 ;;
258258 * .S)
259- src=$1
259+ src=" $( cygpath -ma $1 ) "
260260 assembly=" true"
261261 shift 1
262262 ;;
263263 * .c)
264- args=" $args $1 "
264+ args=" $args $( cygpath -ma $1 ) "
265265 shift 1
266266 ;;
267267 * )
@@ -312,7 +312,7 @@ if [ -n "$assembly" ]; then
312312 echo " $cl -nologo -EP $includes $defines $src > $ppsrc "
313313 fi
314314
315- " $cl " -nologo -EP $includes $defines $src > $ppsrc || exit $?
315+ eval " \" $cl \ " -nologo -EP $includes $defines $src " > $ppsrc || exit $?
316316 output=" $( echo $output | sed ' s%/F[dpa][^ ]*%%g' ) "
317317 if [ $ml = " armasm" ]; then
318318 args=" -nologo -g -oldit $armasm_output $ppsrc -errorReport:prompt"
You can’t perform that action at this time.
0 commit comments