From d769cb7c8de5b205e06dffe646f225d336f818e1 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 5 Dec 2014 11:49:44 -0500 Subject: flac: fix universal build Fixes #34589. --- Library/Formula/flac.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula') 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" -- cgit v1.2.3