aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/madplay.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/madplay.rb')
-rw-r--r--Library/Formula/madplay.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/madplay.rb b/Library/Formula/madplay.rb
index 3ede1f54f..d9af0950f 100644
--- a/Library/Formula/madplay.rb
+++ b/Library/Formula/madplay.rb
@@ -18,7 +18,7 @@ class Madplay < Formula
def install
configure_flags = ["--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"]
# Avoid "error: CPU you selected does not support x86-64 instruction set"
- configure_flags << "--build=x86_64" if Hardware.is_64_bit? and MACOS_VERSION >= 10.6
+ configure_flags << "--build=x86_64" if MacOS.prefer_64_bit?
system "./configure", *configure_flags
system "make install"
end