From 46dc279788a993ffb2938ce03319867305b789f9 Mon Sep 17 00:00:00 2001 From: "T. Joseph Carter" Date: Mon, 23 Mar 2015 14:41:09 -0700 Subject: [PATCH] Fix (harmless) errors about MAME_GIT_TINY --- libretro-build-common.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libretro-build-common.sh b/libretro-build-common.sh index ad77938c..72dff511 100755 --- a/libretro-build-common.sh +++ b/libretro-build-common.sh @@ -4,6 +4,7 @@ . "$BASE_DIR/script-modules/fetch-rules.sh" . "$BASE_DIR/script-modules/cpu.sh" . "$BASE_DIR/script-modules/modules.sh" +. "$BASE_DIR/script-modules/build-tools.sh" . "$BASE_DIR/rules.d/core-rules.sh" @@ -394,7 +395,7 @@ build_libretro_mame_prerule() { echo_cmd "cd \"$build_dir\"" local extra_args - [ "$MAME_GIT_TINY" -eq 1 ] && extra_args="$extra_args SUBTARGET=tiny" + [ "${MAME_GIT_TINY:=0}" -eq 1 ] && extra_args="$extra_args SUBTARGET=tiny" if [ -z "$NOCLEAN" ]; then echo_cmd "$MAKE -f Makefile.libretro $extra_args platform=\"$FORMAT_COMPILER_TARGET\" \"-j$JOBS\" clean"