Merge pull request #84 from l3iggs/patch-1

move ./configure into NOCLEAN if statement
This commit is contained in:
Twinaphex 2014-08-08 18:44:59 +02:00
commit 54be81021c

View File

@ -119,8 +119,9 @@ build_retroarch()
echo "=== Building RetroArch ===" echo "=== Building RetroArch ==="
cd retroarch cd retroarch
check_deps check_deps
./configure $ENABLE_GLES $ENABLE_NEON
if [ -z "${NOCLEAN}" ]; then if [ -z "${NOCLEAN}" ]; then
./configure $ENABLE_GLES $ENABLE_NEON
${MAKE} -f Makefile platform=${FORMAT_COMPILER_TARGET} CC="gcc ${RARCHCFLAGS}" $COMPILER -j$JOBS clean || die "Failed to clean RetroArch" ${MAKE} -f Makefile platform=${FORMAT_COMPILER_TARGET} CC="gcc ${RARCHCFLAGS}" $COMPILER -j$JOBS clean || die "Failed to clean RetroArch"
fi fi
${MAKE} -f Makefile platform=${FORMAT_COMPILER_TARGET} CC="gcc ${RARCHCFLAGS}" $COMPILER -j$JOBS || die "Failed to build RetroArch" ${MAKE} -f Makefile platform=${FORMAT_COMPILER_TARGET} CC="gcc ${RARCHCFLAGS}" $COMPILER -j$JOBS || die "Failed to build RetroArch"