Update compile.sh

This commit is contained in:
Shoghi Cervantes 2014-03-29 04:14:29 +01:00
parent 9cab86540b
commit 66cea2f8ea

View File

@ -216,10 +216,8 @@ elif [ "$COMPILE_TARGET" == "rpi" ]; then
OPENSSL_TARGET="linux-armv4" OPENSSL_TARGET="linux-armv4"
echo "[INFO] Compiling for Raspberry Pi ARMv6zk hard float" echo "[INFO] Compiling for Raspberry Pi ARMv6zk hard float"
elif [ "$COMPILE_TARGET" == "mac" ] || [ "$COMPILE_TARGET" == "mac32" ]; then elif [ "$COMPILE_TARGET" == "mac" ] || [ "$COMPILE_TARGET" == "mac32" ]; then
#[ -z "$march" ] && march=prescott; [ -z "$march" ] && march=prescott;
#[ -z "$mtune" ] && mtune=generic; [ -z "$mtune" ] && mtune=generic;
#[ -z "$march" ] && march=i386;
#[ -z "$mtune" ] && mtune=generic;
CFLAGS="$CFLAGS -m32 -arch i386 -fomit-frame-pointer -mmacosx-version-min=10.5"; CFLAGS="$CFLAGS -m32 -arch i386 -fomit-frame-pointer -mmacosx-version-min=10.5";
LDFLAGS="$LDFLAGS -Wl,-rpath,@loader_path/../lib"; LDFLAGS="$LDFLAGS -Wl,-rpath,@loader_path/../lib";
export DYLD_LIBRARY_PATH="@loader_path/../lib" export DYLD_LIBRARY_PATH="@loader_path/../lib"