aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/rrdtool.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/rrdtool.rb')
-rw-r--r--Library/Formula/rrdtool.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/rrdtool.rb b/Library/Formula/rrdtool.rb
index 1e0bfbc10..380b26606 100644
--- a/Library/Formula/rrdtool.rb
+++ b/Library/Formula/rrdtool.rb
@@ -39,7 +39,7 @@ class Rrdtool < Formula
system "./configure", *args
# Needed to build proper Ruby bundle
- ENV["ARCHFLAGS"] = snow_leopard_64? ? "-arch x86_64" : "-arch i386"
+ ENV["ARCHFLAGS"] = MacOS.prefer_64_bit? ? "-arch x86_64" : "-arch i386"
system "make install"
prefix.install "bindings/ruby/test.rb"