aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2011-05-07 13:29:15 -0700
committerAdam Vandenberg2011-05-07 13:29:15 -0700
commitae139015521845697cfbe79f45e1f0991d6a67c1 (patch)
treeb0bfac992e9a2fd33a93d08c7cda9475e43c755c /Library/Formula
parent2ffd06bb19760d06819b2733fcdb2c9909c136db (diff)
downloadhomebrew-ae139015521845697cfbe79f45e1f0991d6a67c1.tar.bz2
mod_wsgi: fix compilation on 32-bit cpu
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mod_wsgi.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/mod_wsgi.rb b/Library/Formula/mod_wsgi.rb
index be8cc4193..696c42dec 100644
--- a/Library/Formula/mod_wsgi.rb
+++ b/Library/Formula/mod_wsgi.rb
@@ -32,6 +32,7 @@ class ModWsgi < Formula
cflags = s.get_make_var("CFLAGS")
cflags.gsub! "-Wc,'-arch ppc7400'", ""
cflags.gsub! "-Wc,'-arch ppc64'", ""
+ cflags.gsub! "-Wc,'-arch x86_64'", "" if Hardware.is_32_bit?
s.change_make_var! "CFLAGS", cflags
# --libexecdir parameter to ./configure isn't changing this, so cram it in