From 485cd808117905d3bd1e0dd2b947ec0cf1f16afb Mon Sep 17 00:00:00 2001 From: DRC Date: Tue, 23 Feb 2010 23:23:42 +0000 Subject: [PATCH] We don't actually need to use GCC 4.0 to do a backward compatible build, and it slows things down relative to GCC 4.2 git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@148 632fc199-4ca6-4c93-a231-07263d6284db --- BUILDING.txt | 7 ++++--- release/makemacpkg | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/BUILDING.txt b/BUILDING.txt index 1a574ff..a9cdcae 100644 --- a/BUILDING.txt +++ b/BUILDING.txt @@ -146,9 +146,10 @@ to the configure command line. Add - CC=gcc-4.0 CXX=g++-4.0 CFLAGS='-isysroot /Developer/SDKs/MacOSX10.4u.sdk \ - -mmacosx-version-min=10.4 -O3 -m32' CXXFLAGS='-isysroot \ - /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -O3 -m32' \ + CFLAGS='-isysroot /Developer/SDKs/MacOSX10.4u.sdk \ + -mmacosx-version-min=10.4 -O3 -m32' \ + CXXFLAGS='-isysroot /Developer/SDKs/MacOSX10.4u.sdk \ + -mmacosx-version-min=10.4 -O3 -m32' \ LDFLAGS='-isysroot /Developer/SDKs/MacOSX10.4u.sdk \ -mmacosx-version-min=10.4 -m32' diff --git a/release/makemacpkg b/release/makemacpkg index 1a01ebc..e766cae 100644 --- a/release/makemacpkg +++ b/release/makemacpkg @@ -55,7 +55,7 @@ if [ $UNIVERSAL = 1 ]; then fi mkdir -p $TMPDIR/dist.x86 pushd $SRCDIR/osxx86 - sh $SRCDIR/configure CC=gcc-4.0 CXX=g++-4.0 \ + sh $SRCDIR/configure \ CFLAGS='-isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -O3 -m32' \ CXXFLAGS='-isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -O3 -m32' \ LDFLAGS='-isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -m32' -- 2.40.0