Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Commit

Permalink
beecrypt: remove -march cflags instead of everything
Browse files Browse the repository at this point in the history
Closes Homebrew#12789.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information
afb authored and jacknagel committed Nov 20, 2012
1 parent 3d63a59 commit 00d897f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Library/Formula/beecrypt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 00d897f

Please sign in to comment.