From 96b0ae443aed1cef9ae7dedeaacc0f816e671a82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Su=C3=A1rez?= Date: Wed, 29 Oct 2014 16:06:17 -0500 Subject: [PATCH] Clean up bsnes output folder Prevents x86 cores in the x64 package and viceversa --- libretro-build-common.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/libretro-build-common.sh b/libretro-build-common.sh index e9684110..4b0b2f34 100755 --- a/libretro-build-common.sh +++ b/libretro-build-common.sh @@ -461,6 +461,7 @@ build_libretro_bsnes_modern() { if [ -z "${NOCLEAN}" ]; then rm -f obj/*.{o,"${FORMAT_EXT}"} + rm -f out/*.{o,"${FORMAT_EXT}"} fi "${MAKE}" -f Makefile platform="${FORMAT_COMPILER_TARGET}" compiler="${4}" ui='target-libretro' profile="${3}" "-j${JOBS}" || die "Failed to build ${1} ${3} core" cp -f "out/${1}_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}/${1}_${3}_libretro${FORMAT}.${FORMAT_EXT}"