summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519>2012-06-28 23:22:03 +0000
committerdcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519>2012-06-28 23:22:03 +0000
commit0554267b11ea86407b4e42a818b2c4d2c7a64d4f (patch)
tree79d1e66e284527f23d55ca915e5ca60ac46ff982
parentb280ddbd26eba64dcd934033ac0306f0e3398156 (diff)
Later versions of autoconf (specifically, the one shipped with Xcode 4.3) default to building x86-64, so it is necessary to override the host_alias to get a 32-bit build.
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@846 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r--branches/1.2.x/BUILDING.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/branches/1.2.x/BUILDING.txt b/branches/1.2.x/BUILDING.txt
index 8f19edc..26a42ca 100644
--- a/branches/1.2.x/BUILDING.txt
+++ b/branches/1.2.x/BUILDING.txt
@@ -203,7 +203,7 @@ installed.
Add
- CFLAGS='-O3 -m32' LDFLAGS=-m32
+ --host i686-apple-darwin CFLAGS='-O3 -m32' LDFLAGS=-m32
to the configure command line.
@@ -228,7 +228,8 @@ MacPorts, must be installed.
Add
- CFLAGS='-isysroot /Developer/SDKs/MacOSX10.4u.sdk \
+ --host i686-apple-darwin \
+ CFLAGS='-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'