PIL: remove 64-bit arch on 32-bit hardware
parent
773723a0de
commit
a0e6f0554f
|
@ -13,6 +13,9 @@ class Pil < Formula
|
||||||
# We remove 'ppc' support, so we can pass Intel-optimized CFLAGS.
|
# We remove 'ppc' support, so we can pass Intel-optimized CFLAGS.
|
||||||
archs = archs_for_command("python")
|
archs = archs_for_command("python")
|
||||||
archs.remove_ppc!
|
archs.remove_ppc!
|
||||||
|
# Can't build universal on 32-bit hardware. See:
|
||||||
|
# https://github.com/mxcl/homebrew/issues/5844
|
||||||
|
archs.delete! :x86_64 if Hardware.is_32_bit?
|
||||||
ENV['ARCHFLAGS'] = archs.as_arch_flags
|
ENV['ARCHFLAGS'] = archs.as_arch_flags
|
||||||
|
|
||||||
inreplace "setup.py" do |s|
|
inreplace "setup.py" do |s|
|
||||||
|
|
Loading…
Reference in New Issue