macvim: comment use of ARCHFLAGS
parent
bbdd80d4dd
commit
ff4e57ad7a
|
@ -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}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue