aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-12-05 11:49:44 -0500
committerJack Nagel2014-12-05 11:49:44 -0500
commitd769cb7c8de5b205e06dffe646f225d336f818e1 (patch)
treedd4b67ef925f5217cb1365747c38498865c650b1 /Library
parente4461afd36f04b1cd3cf56ec0636202150ce0570 (diff)
downloadhomebrew-d769cb7c8de5b205e06dffe646f225d336f818e1.tar.bz2
flac: fix universal build
Fixes #34589.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/flac.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/flac.rb b/Library/Formula/flac.rb
index b33828a2c..d13257184 100644
--- a/Library/Formula/flac.rb
+++ b/Library/Formula/flac.rb
@@ -34,8 +34,6 @@ class Flac < Formula
ENV.append "CFLAGS", "-std=gnu89"
- system "./autogen.sh" if build.head?
-
args = %W[
--disable-dependency-tracking
--disable-debug
@@ -45,8 +43,10 @@ class Flac < Formula
--enable-static
]
+ args << "--disable-asm-optimizations" if build.universal? || Hardware.is_32_bit?
args << "--without-ogg" if build.without? "libogg"
+ system "./autogen.sh" if build.head?
system "./configure", *args
ENV["OBJ_FORMAT"] = "macho"