diff options
| -rw-r--r-- | Library/Formula/macvim.rb | 3 |
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}" |
