Mac: Update build scripts for x86_64 support.

svn path=/trunk/boinc/; revision=14358
This commit is contained in:
Charlie Fenton 2007-12-05 09:55:12 +00:00
parent 7157614dc7
commit 4e5f3b4c18
1 changed files with 2 additions and 10 deletions

View File

@ -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 <gcc/darwin/3.3/stdarg.h>" >> ./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