diff options
| author | Adam Vandenberg | 2011-05-07 13:29:15 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-05-07 13:29:15 -0700 |
| commit | ae139015521845697cfbe79f45e1f0991d6a67c1 (patch) | |
| tree | b0bfac992e9a2fd33a93d08c7cda9475e43c755c /Library | |
| parent | 2ffd06bb19760d06819b2733fcdb2c9909c136db (diff) | |
| download | homebrew-ae139015521845697cfbe79f45e1f0991d6a67c1.tar.bz2 | |
mod_wsgi: fix compilation on 32-bit cpu
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mod_wsgi.rb | 1 |
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 |
