From 5c9177dcaf075250963100687340f9efc8a44557 Mon Sep 17 00:00:00 2001 From: Anders F Bjorklund Date: Tue, 12 Jun 2012 20:36:24 +0200 Subject: [PATCH] beecrypt: remove -march cflags instead of everything Closes Homebrew/homebrew#12789. Signed-off-by: Jack Nagel --- Formula/beecrypt.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Formula/beecrypt.rb b/Formula/beecrypt.rb index aed07b86d84..4d2a4f4f526 100644 --- a/Formula/beecrypt.rb +++ b/Formula/beecrypt.rb @@ -8,11 +8,7 @@ class Beecrypt < Formula depends_on "icu4c" def install - # Compilation fails if we allow Homebrew to set CFLAGS/CPPFLAGS/CXXFLAGS. - ENV.delete "CFLAGS" - ENV.delete "CPPFLAGS" - ENV.delete "CXXFLAGS" - + ENV.remove_from_cflags /-march=\S*/ system "./configure", "--prefix=#{prefix}", "--disable-openmp", "--without-java", "--without-python" system "make" system "make install"