From 04674cf9b4f0ae0b69ca4754534c4850e3aa12b8 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 13 Oct 2013 01:07:22 +0200 Subject: [PATCH] Mupen64plus - add platform to rule --- libretro-build-common.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libretro-build-common.sh b/libretro-build-common.sh index 15013699..19863724 100755 --- a/libretro-build-common.sh +++ b/libretro-build-common.sh @@ -547,16 +547,16 @@ build_libretro_mupen64() { mkdir -p obj if [ "${X86}" ] && [ "${X86_64}" ]; then echo '=== Building Mupen 64 Plus (x86_64 dynarec) ===' - "${MAKE}" WITH_DYNAREC='x86_64' "-j${JOBS}" clean || die 'Failed to clean Mupen 64 (x86_64 dynarec)' - "${MAKE}" WITH_DYNAREC='x86_64' ${COMPILER} "-j${JOBS}" || die 'Failed to build Mupen 64 (x86_64 dynarec)' + "${MAKE}" WITH_DYNAREC='x86_64' platform="${FORMAT_COMPILER_TARGET_ALT}" "-j${JOBS}" clean || die 'Failed to clean Mupen 64 (x86_64 dynarec)' + "${MAKE}" WITH_DYNAREC='x86_64' platform="${FORMAT_COMPILER_TARGET_ALT}" ${COMPILER} "-j${JOBS}" || die 'Failed to build Mupen 64 (x86_64 dynarec)' elif [ "${X86}" ]; then echo '=== Building Mupen 64 Plus (x86 32bit dynarec) ===' - "${MAKE}" WITH_DYNAREC='x86' "-j${JOBS}" clean || die 'Failed to clean Mupen 64 (x86 dynarec)' - "${MAKE}" WITH_DYNAREC='x86' ${COMPILER} "-j${JOBS}" || die 'Failed to build Mupen 64 (x86 dynarec)' + "${MAKE}" WITH_DYNAREC='x86' platform="${FORMAT_COMPILER_TARGET_ALT}" "-j${JOBS}" clean || die 'Failed to clean Mupen 64 (x86 dynarec)' + "${MAKE}" WITH_DYNAREC='x86' platform="${FORMAT_COMPILER_TARGET_ALT}" ${COMPILER} "-j${JOBS}" || die 'Failed to build Mupen 64 (x86 dynarec)' elif [ "${CORTEX_A8}" ] || [ "${CORTEX_A9}" ]; then echo '=== Building Mupen 64 Plus (ARM dynarec) ===' - "${MAKE}" WITH_DYNAREC='arm' "-j${JOBS}" clean || die 'Failed to clean Mupen 64 (ARM dynarec)' - "${MAKE}" WITH_DYNAREC='arm' ${COMPILER} "-j${JOBS}" || die 'Failed to build Mupen 64 (ARM dynarec)' + "${MAKE}" WITH_DYNAREC='arm' platform="${FORMAT_COMPILER_TARGET_ALT}" "-j${JOBS}" clean || die 'Failed to clean Mupen 64 (ARM dynarec)' + "${MAKE}" WITH_DYNAREC='arm' platform="${FORMAT_COMPILER_TARGET_ALT}" ${COMPILER} "-j${JOBS}" || die 'Failed to build Mupen 64 (ARM dynarec)' else echo '=== Building Mupen 64 Plus ===' "${MAKE}" "-j${JOBS}" clean || die 'Failed to clean Mupen 64'