move ./configure into NOCLEAN if statement

Running `./configure` before `make` triggers a complete rebuild. I'd like to exert control over when a complete rebuild takes place. Moving ./configure into the NOCLEAN if statement allows for that.
This commit is contained in:
l3iggs 2014-08-08 08:30:22 -07:00
parent 785374ecb1
commit 6b6bc15262

View File

@ -119,8 +119,9 @@ build_retroarch()
echo "=== Building RetroArch ==="
cd retroarch
check_deps
./configure $ENABLE_GLES $ENABLE_NEON
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"
fi
${MAKE} -f Makefile platform=${FORMAT_COMPILER_TARGET} CC="gcc ${RARCHCFLAGS}" $COMPILER -j$JOBS || die "Failed to build RetroArch"