From 65829cfd8cef519282d13268df14b1b6633f3156 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Wed, 19 Dec 2007 12:46:57 +0000 Subject: [PATCH] Mac: Fix curl library build problem when building under OS 10.5 and XCode 3.0 svn path=/trunk/boinc/; revision=14411 --- mac_build/buildcurl.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mac_build/buildcurl.sh b/mac_build/buildcurl.sh index 6ac33dbb1d..571f9b5331 100644 --- a/mac_build/buildcurl.sh +++ b/mac_build/buildcurl.sh @@ -24,7 +24,7 @@ # use in building BOINC. # # by Charlie Fenton 7/21/06 -# Updated 12/4/07 +# Updated 12/18/07 # ## In Terminal, CD to the curl-7.17.1 directory. ## cd [path]/curl-7.17.1/ @@ -80,9 +80,9 @@ rm -f lib/.libs/libcurl_x86_64.a if [ $usegcc33 -ne 0 ]; then export CC=/usr/bin/gcc-3.3;export CXX=/usr/bin/g++-3.3 -export LDFLAGS="-arch ppc -isystem /Developer/SDKs/MacOSX10.3.9.sdk" -export CPPFLAGS="-arch ppc -isystem /Developer/SDKs/MacOSX10.3.9.sdk" -export CFLAGS="-arch ppc -isystem /Developer/SDKs/MacOSX10.3.9.sdk" +export LDFLAGS="-arch ppc -D_NONSTD_SOURCE -isystem /Developer/SDKs/MacOSX10.3.9.sdk" +export CPPFLAGS="-arch ppc -D_NONSTD_SOURCE -isystem /Developer/SDKs/MacOSX10.3.9.sdk" +export CFLAGS="-arch ppc -D_NONSTD_SOURCE -isystem /Developer/SDKs/MacOSX10.3.9.sdk" ./configure --enable-shared=NO --host=ppc if [ $? -ne 0 ]; then return 1; fi