try to fix compiler for bsnes

This commit is contained in:
radius 2015-10-31 13:56:44 -05:00
parent b24265069f
commit f50f580c9b
1 changed files with 4 additions and 1 deletions

View File

@ -62,7 +62,7 @@ if [ "${CORE_JOB}" == "YES" ]; then
[[ "${IOS}" ]] && echo 'iOS detected...'
echo === BUILDBOT VARS: CC: $CC CXX:: $CXX STRIP: $STRIP COMPILER: $COMPILER ===
# set a few extra variables with libretro-config.sh
. $WORK/libretro-config.sh
@ -89,6 +89,7 @@ if [ "${CORE_JOB}" == "YES" ]; then
done
fi
echo === BUILDBOT VARS: CC: $CC CXX:: $CXX STRIP: $STRIP COMPILER: $COMPILER ===
# define the compilers
if [ "$HOST_CC" ]; then
CC="${HOST_CC}-gcc"
@ -97,6 +98,8 @@ if [ "${CORE_JOB}" == "YES" ]; then
STRIP="${HOST_CC}-strip"
fi
echo === BUILDBOT VARS: CC: $CC CXX:: $CXX STRIP: $STRIP COMPILER: $COMPILER ===
if [ -z "$MAKE" ]; then
if uname -s | grep -i MINGW32 > /dev/null 2>&1; then
MAKE=mingw32-make