From 4098e5e3b825a463e3d87543d7e07c0e4a0c491c Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Sat, 29 Mar 2014 05:03:20 +0100 Subject: [PATCH] Fixed invalid MacOS arch for 64-bit --- src/build/compile.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/build/compile.sh b/src/build/compile.sh index dfb446d44..6eaef40a6 100755 --- a/src/build/compile.sh +++ b/src/build/compile.sh @@ -228,7 +228,7 @@ elif [ "$COMPILE_TARGET" == "mac" ] || [ "$COMPILE_TARGET" == "mac32" ]; then elif [ "$COMPILE_TARGET" == "mac64" ]; then [ -z "$march" ] && march=core2; [ -z "$mtune" ] && mtune=generic; - CFLAGS="$CFLAGS -m64 -arch x86-64 -fomit-frame-pointer -mmacosx-version-min=10.5"; + CFLAGS="$CFLAGS -m64 -arch x86_64 -fomit-frame-pointer -mmacosx-version-min=10.5"; LDFLAGS="$LDFLAGS -Wl,-rpath,@loader_path/../lib"; export DYLD_LIBRARY_PATH="@loader_path/../lib" OPENSSL_TARGET="darwin64-x86_64-cc" @@ -627,6 +627,7 @@ $HAVE_NCURSES \ $HAVE_READLINE \ --enable-mbstring \ --enable-calendar \ +#--enable-weakref --enable-pthreads \ --enable-pthreads-pedantic \ --disable-libxml \