diff options
| author | Adam Vandenberg | 2012-05-15 21:11:39 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-05-15 21:11:39 -0700 |
| commit | 255acfb2a6269d1ada6e22b965606fef41361c30 (patch) | |
| tree | eea9630e35d4e331799998f4b88dbebd4212c591 /Library | |
| parent | 11269391ca33de781d03776a82085954ce23a8da (diff) | |
| download | homebrew-255acfb2a6269d1ada6e22b965606fef41361c30.tar.bz2 | |
htop: disable optimization with clang to prevent segfault when resizing
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/htop-osx.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/htop-osx.rb b/Library/Formula/htop-osx.rb index aa0bf8cf7..62724c191 100644 --- a/Library/Formula/htop-osx.rb +++ b/Library/Formula/htop-osx.rb @@ -8,6 +8,9 @@ class HtopOsx < Formula depends_on "automake" => :build if MacOS.xcode_version.to_f >= 4.3 def install + # Otherwise htop will segfault when resizing the terminal + ENV.no_optimization if ENV.compiler == :clang + system "./autogen.sh" system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make", "install", "DEFAULT_INCLUDES='-iquote .'" |
