macvim: comment use of ARCHFLAGS

master
Adam Vandenberg 2011-03-19 09:23:07 -07:00
parent bbdd80d4dd
commit ff4e57ad7a
1 changed files with 3 additions and 0 deletions

View File

@ -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}"