force the use of gcc on cygwin for concat-deps.c

This commit is contained in:
Norbert Thiebaud
2011-12-18 05:15:53 -06:00
parent b23f2d78c4
commit 96515464af

View File

@@ -76,8 +76,12 @@ fi
# build concat-deps # build concat-deps
echo "building 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 #make sure build.pl is executable
chmod +x "$SRC_ROOT/solenv/bin/build.pl" chmod +x "$SRC_ROOT/solenv/bin/build.pl"