configure: Fix for whitespace in path (2nd try)

May fix #10170.
This commit is contained in:
Ingo Weinhold 2013-11-23 20:05:13 +01:00
parent 29996a0199
commit 8304ec7c12

8
configure vendored
View File

@ -755,8 +755,10 @@ else
crossToolsDir="$outputDir/cross-tools-$targetArch"
targetMachine=`get_variable buildCrossToolsMachine_$targetArch`
script="$buildCrossToolsScript"
scriptArgs=
if [ $targetArch != x86_gcc2 ]; then
script="${script}_gcc4 $targetMachine"
script="${script}_gcc4"
scriptArgs="$targetMachine"
fi
secondaryArch=
if [ -z "$isPrimaryArch" ]; then
@ -772,8 +774,8 @@ else
SECONDARY_ARCH=$secondaryArch \
HAIKU_USE_GCC_GRAPHITE=`get_variable \
HAIKU_USE_GCC_GRAPHITE_$targetArch` \
$script "$sourceDir" "$buildCrossTools" "$crossToolsDir" \
$buildCrossToolsJobs || exit 1
"$script" $scriptArgs "$sourceDir" "$buildCrossTools" \
"$crossToolsDir" $buildCrossToolsJobs || exit 1
crossToolsPrefix="$crossToolsDir/bin/${targetMachine}-"
fi