mirror of
https://github.com/libretro/libretro-super
synced 2025-01-08 12:37:23 +00:00
Make the iOS prerule a little smarter about failing.
This commit is contained in:
parent
c4decaadb0
commit
0e4520e891
@ -400,9 +400,12 @@ build_libretro_mame_prerule() {
|
|||||||
if [ -n "$IOS" ]; then
|
if [ -n "$IOS" ]; then
|
||||||
# FIXME: iOS doesn't build right now, so let's leave this simple until it does.
|
# FIXME: iOS doesn't build right now, so let's leave this simple until it does.
|
||||||
target=mame
|
target=mame
|
||||||
echo_cmd "$MAKE -f Makefile.libretro \"TARGET=$target\" platform=\"$FORMAT_COMPILER_TARGET\" CC=\"$CC\" CXX=\"$CXX\" \"NATIVE=1\" buildtools \"-j$JOBS\"" || die 'Failed to build MAME buildtools'
|
echo_cmd "$MAKE -f Makefile.libretro \"TARGET=$target\" platform=\"$FORMAT_COMPILER_TARGET\" CC=\"$CC\" CXX=\"$CXX\" \"NATIVE=1\" buildtools \"-j$JOBS\""
|
||||||
echo_cmd "$MAKE -f Makefile.libretro \"TARGET=$target\" platform=\"$FORMAT_COMPILER_TARGET\" CC=\"$CC\" CXX=\"$CXX\" emulator \"-j$JOBS\"" || die 'Failed to build MAME (iOS)'
|
|
||||||
ret=$?
|
ret=$?
|
||||||
|
if [ "$ret" = 0 ]; then
|
||||||
|
echo_cmd "$MAKE -f Makefile.libretro \"TARGET=$target\" platform=\"$FORMAT_COMPILER_TARGET\" CC=\"$CC\" CXX=\"$CXX\" emulator \"-j$JOBS\""
|
||||||
|
ret=$?
|
||||||
|
fi
|
||||||
build_summary_log $ret "$target"
|
build_summary_log $ret "$target"
|
||||||
else
|
else
|
||||||
for target in mame mess ume; do
|
for target in mame mess ume; do
|
||||||
|
Loading…
Reference in New Issue
Block a user