From ae139015521845697cfbe79f45e1f0991d6a67c1 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 7 May 2011 13:29:15 -0700 Subject: mod_wsgi: fix compilation on 32-bit cpu --- Library/Formula/mod_wsgi.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'Library/Formula') 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 -- cgit v1.2.3