From 96515464af79fa10081c39a87fa4b0b19df53eda Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Sun, 18 Dec 2011 05:15:53 -0600 Subject: [PATCH] force the use of gcc on cygwin for concat-deps.c --- bootstrap | 8 ++++++-- 1 file 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"