diff options
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bootstrap b/bootstrap index da1192c48882..26ade9a9ce89 100755 --- a/bootstrap +++ b/bootstrap @@ -76,8 +76,12 @@ fi # build concat-deps echo "building concat-deps" -$CC_FOR_BUILD -O2 "$SOLARENV/bin/concat-deps.c" -o "$SOLARENV/bin/concat-deps" || exit - +if [ "$COM_FOR_BUILD" = "MSC" ] ; then + # on cygwin force the use of gcc + gcc -O2 "$SOLARENV/bin/concat-deps.c" -o "$SOLARENV/bin/concat-deps" || exit +else + $CC_FOR_BUILD -O2 "$SOLARENV/bin/concat-deps.c" -o "$SOLARENV/bin/concat-deps" || exit +fi #make sure build.pl is executable chmod +x "$SRC_ROOT/solenv/bin/build.pl" |