diff --git a/mac_build/buildcurl.sh b/mac_build/buildcurl.sh index 73a73304d9..89e7565014 100644 --- a/mac_build/buildcurl.sh +++ b/mac_build/buildcurl.sh @@ -47,7 +47,6 @@ export CPPFLAGS="" ./configure --enable-shared=NO --host=i386 --build=i386 if [ $? -ne 0 ]; then exit 1; fi -## export LDFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch i386" export LDFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386" export CPPFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386" diff --git a/mac_build/buildjpeg.sh b/mac_build/buildjpeg.sh index 70e6d8518c..3cc28f074d 100644 --- a/mac_build/buildjpeg.sh +++ b/mac_build/buildjpeg.sh @@ -22,13 +22,10 @@ fi ## cd [path]/jpeg-6b/ export PATH=/usr/local/bin:$PATH export CC=/usr/bin/gcc-3.3;export CXX=/usr/bin/g++-3.3 -## ./configure --disable-shared --host=ppc --build=ppc ./configure --disable-shared --host=ppc if [ $? -ne 0 ]; then exit 1; fi export LDFLAGS="-isysroot /Developer/SDKs/MacOSX10.3.9.sdk -Wl,-syslibroot,/Developer/SDKs/MacOSX10.3.9.sdk" -## export CPPFLAGS="-isysroot /Developer/SDKs/MacOSX10.3.9.sdk" -## export CPPFLAGS="-isysroot /Developer/SDKs/MacOSX10.3.9.sdk -arch ppc" export CPPFLAGS="-I/Developer/SDKs/MacOSX10.3.9.sdk/Developer/Headers/FlatCarbon -I/Developer/SDKs/MacOSX10.3.9.sdk/usr/include -isystem /Developer/SDKs/MacOSX10.3.9.sdk/usr/include/gcc/darwin/3.3 -I/Developer/SDKs/MacOSX10.3.9.sdk/usr/include/gcc/darwin/3.3/c++ -I/Developer/SDKs/MacOSX10.3.9.sdk/usr/include/gcc/darwin/3.3/c++/ppc-darwin -isystem /Developer/SDKs/MacOSX10.3.9.sdk/usr/include" rm -f libjpeg_ppc.a @@ -47,11 +44,9 @@ export PATH=/usr/local/bin:$PATH export CC=/usr/bin/gcc-4.0;export CXX=/usr/bin/g++-4.0 export LDFLAGS="" export CPPFLAGS="" -##./configure --disable-shared --host=i386 --build=i386 ./configure --disable-shared --host=i386 if [ $? -ne 0 ]; then exit 1; fi -## export LDFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch i386" export LDFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386" export CPPFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386"