From 4e5f3b4c1807fa04dc02e589365463b99a5f6582 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Wed, 5 Dec 2007 09:55:12 +0000 Subject: [PATCH] Mac: Update build scripts for x86_64 support. svn path=/trunk/boinc/; revision=14358 --- mac_build/buildcurl.sh | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/mac_build/buildcurl.sh b/mac_build/buildcurl.sh index bd022ec447..6ac33dbb1d 100644 --- a/mac_build/buildcurl.sh +++ b/mac_build/buildcurl.sh @@ -72,8 +72,6 @@ export PATH=/usr/local/bin:$PATH export SDKROOT="/Developer/SDKs/MacOSX10.3.9.sdk" export MACOSX_DEPLOYMENT_TARGET=10.3 -rm -fR macfix - rm -f lib/.libs/libcurl.a rm -f lib/.libs/libcurl_ppc.a rm -f lib/.libs/libcurl_i386.a @@ -91,14 +89,10 @@ if [ $? -ne 0 ]; then return 1; fi else -## workaround for header problem -mkdir macfix -echo "#include " >> ./macfix/stdarg.h - export CC=/usr/bin/gcc-4.0;export CXX=/usr/bin/g++-4.0 export LDFLAGS="-isysroot /Developer/SDKs/MacOSX10.3.9.sdk -arch ppc" -export CPPFLAGS="-isysroot /Developer/SDKs/MacOSX10.3.9.sdk -arch ppc -I${PWD}/macfix" -export CFLAGS="-isysroot /Developer/SDKs/MacOSX10.3.9.sdk -arch ppc -I${PWD}/macfix" +export CPPFLAGS="-isysroot /Developer/SDKs/MacOSX10.3.9.sdk -arch ppc" +export CFLAGS="-isysroot /Developer/SDKs/MacOSX10.3.9.sdk -arch ppc" ./configure --enable-shared=NO --host=ppc fi @@ -112,8 +106,6 @@ make if [ $? -ne 0 ]; then return 1; fi mv -f lib/.libs/libcurl.a lib/libcurl_ppc.a -rm -fR macfix - make clean if [ $? -ne 0 ]; then return 1; fi