beecrypt: remove -march cflags instead of everything

Closes Homebrew/homebrew#12789.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
master
Anders F Bjorklund 2012-06-12 20:36:24 +02:00 committed by Jack Nagel
parent f974281960
commit 5c9177dcaf
1 changed files with 1 additions and 5 deletions

View File

@ -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"