gabedit: disable openmp when using clang

Fixes Homebrew/homebrew#24467.
master
Jack Nagel 2013-11-19 15:12:20 -06:00
parent cf1257a8e5
commit 3fd3a8ef11
1 changed files with 4 additions and 2 deletions

View File

@ -11,7 +11,9 @@ class Gabedit < Formula
depends_on 'gtkglext'
def install
system 'make'
bin.install 'gabedit' # There is no 'make install'
args = []
args << "OMPLIB=" << "OMPCFLAGS=" if ENV.compiler == :clang
system 'make', *args
bin.install 'gabedit'
end
end