From 4947fb07475169e8681cf68df9b9f9886a24f524 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Fri, 7 Dec 2007 23:48:46 +0000 Subject: [PATCH] Fix jpeg library build problem when building under OS 10.5 and XCode 3.0 svn path=/trunk/boinc/; revision=14368 --- mac_build/buildjpeg.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mac_build/buildjpeg.sh b/mac_build/buildjpeg.sh index a01eaeb252..2e5dac2e1b 100644 --- a/mac_build/buildjpeg.sh +++ b/mac_build/buildjpeg.sh @@ -55,9 +55,9 @@ fi export PATH=/usr/local/bin:$PATH export CC=/usr/bin/gcc-3.3;export CXX=/usr/bin/g++-3.3 -export LDFLAGS="-arch ppc" -export CPPFLAGS="-arch ppc" -export CFLAGS="-arch ppc" +export LDFLAGS="-arch ppc -D_NONSTD_SOURCE" +export CPPFLAGS="-arch ppc -D_NONSTD_SOURCE" +export CFLAGS="-arch ppc -D_NONSTD_SOURCE" export SDKROOT="/Developer/SDKs/MacOSX10.3.9.sdk" export MACOSX_DEPLOYMENT_TARGET=10.3