From 2bde8b200c75dd208bebf0f7006362e93b08e9b5 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 13 Jul 2013 18:05:04 +0200 Subject: [PATCH] Don't compare against true for compatibility --- libretro-build-common.sh | 17 +++++++++++------ libretro-build.sh | 4 +--- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/libretro-build-common.sh b/libretro-build-common.sh index 0f5ffa2a..62656bcc 100644 --- a/libretro-build-common.sh +++ b/libretro-build-common.sh @@ -16,19 +16,24 @@ echo "Compiler: $COMPILER" platformvar=armv -if [ "$ARM_NEON"= true]; then +if [ "$ARM_NEON"]; then +echo "=== ARM NEON opts enabled... ===" platformvar += -neon fi -if [ "$CORTEX_A8"= true]; then +if [ "$CORTEX_A8"]; then +echo "=== Cortex A8 opts enabled... ===" platformvar += -cortexa8 fi -if [ "$CORTEX_A9"= true]; then +if [ "$CORTEX_A9"]; then +echo "=== Cortex A9 opts enabled... ===" platformvar += -cortexa9 fi -if [ "$ARM_HARDFLOAT"= true]; then -platformvar += -cortexa9 +if [ "$ARM_HARDFLOAT"]; then +echo "=== ARM hardfloat ABI enabled... ===" +platformvar += -hardfloat fi -if [ "$ARM_SOFTFLOAT"= true]; then +if [ "$ARM_SOFTFLOAT"]; then +echo "=== ARM softfloat ABI enabled... ===" platformvar += -softfloat fi diff --git a/libretro-build.sh b/libretro-build.sh index 8f80605a..d8090dd9 100755 --- a/libretro-build.sh +++ b/libretro-build.sh @@ -123,9 +123,7 @@ if [ "$HOST_CC" ]; then fi if [ -z "$MAKE" ]; then - if [ $FORMAT_COMPILER_TARGET = "osx" ]; then - MAKE=make - elif [ "$(expr substr $(uname -s) 1 7)" = "MINGW32" ]; then + if [ "$(expr substr $(uname -s) 1 7)" = "MINGW32" ]; then MAKE=mingw32-make else MAKE=make