From 4eca67720999f96605660d105a49707946e071d8 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 7 May 2011 13:29:15 -0700 Subject: [PATCH] mod_wsgi: fix compilation on 32-bit cpu --- Formula/mod_wsgi.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Formula/mod_wsgi.rb b/Formula/mod_wsgi.rb index be8cc41935..696c42dec6 100644 --- a/Formula/mod_wsgi.rb +++ b/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