Although theoretically possible, Configure doesn't treat CC variable
set like this very well: CC="ccache i686-w64-mingw32-gcc"
Also, this Travis script doesn't recognise the possibility either.
Reviewed-by: Rich Salz <rsalz@openssl.org>
srcdir=../_srcdist;
mkdir _build;
cd _build;
- if which ccache >/dev/null; then
- CC="ccache $CC";
- fi
fi
- if [ "$CC" == i686-w64-mingw32-gcc ]; then
export CROSS_COMPILE=${CC%%gcc}; unset CC;
export CROSS_COMPILE=${CC%%gcc}; unset CC;
$srcdir/Configure mingw64 $CONFIG_OPTS -Wno-pedantic-ms-format;
else
+ if which ccache >/dev/null; then
+ CC="ccache $CC";
+ fi
$srcdir/config $CONFIG_OPTS;
fi
- cd ..