From 66cea2f8ea724e03b792357bc6fab708bbb27f70 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Sat, 29 Mar 2014 04:14:29 +0100 Subject: [PATCH] Update compile.sh --- src/build/compile.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/build/compile.sh b/src/build/compile.sh index 8c4e7a361..e13133f17 100755 --- a/src/build/compile.sh +++ b/src/build/compile.sh @@ -216,10 +216,8 @@ elif [ "$COMPILE_TARGET" == "rpi" ]; then OPENSSL_TARGET="linux-armv4" echo "[INFO] Compiling for Raspberry Pi ARMv6zk hard float" elif [ "$COMPILE_TARGET" == "mac" ] || [ "$COMPILE_TARGET" == "mac32" ]; then - #[ -z "$march" ] && march=prescott; - #[ -z "$mtune" ] && mtune=generic; - #[ -z "$march" ] && march=i386; - #[ -z "$mtune" ] && mtune=generic; + [ -z "$march" ] && march=prescott; + [ -z "$mtune" ] && mtune=generic; CFLAGS="$CFLAGS -m32 -arch i386 -fomit-frame-pointer -mmacosx-version-min=10.5"; LDFLAGS="$LDFLAGS -Wl,-rpath,@loader_path/../lib"; export DYLD_LIBRARY_PATH="@loader_path/../lib"