aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/macvim.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2011-03-19 09:23:07 -0700
committerAdam Vandenberg2011-03-19 09:23:07 -0700
commit20b535e0706f6d9b0743463893b8a9b16aa92a89 (patch)
tree5b235703990ee9bea7d8953635a7a76c1704e580 /Library/Formula/macvim.rb
parent5d30ca731647a5707b3820d40767fed23974f026 (diff)
downloadhomebrew-20b535e0706f6d9b0743463893b8a9b16aa92a89.tar.bz2
macvim: comment use of ARCHFLAGS
Diffstat (limited to 'Library/Formula/macvim.rb')
-rw-r--r--Library/Formula/macvim.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/macvim.rb b/Library/Formula/macvim.rb
index f8a5e1657..b00781210 100644
--- a/Library/Formula/macvim.rb
+++ b/Library/Formula/macvim.rb
@@ -26,6 +26,9 @@ class Macvim < Formula
ENV['CXX'] = nil
ENV['CXXFLAGS'] = nil
+ # Set ARCHFLAGS so the Python app (with C extension) that is
+ # used to create the custom icons will not try to compile in
+ # PPC support (which isn't needed in Homebrew-supported systems.)
arch = Hardware.is_64_bit? ? 'x86_64' : 'i386'
ENV['ARCHFLAGS'] = "-arch #{arch}"