diff options
| author | Misty De Meo | 2012-10-28 22:00:39 -0500 |
|---|---|---|
| committer | Misty De Meo | 2012-10-28 22:00:55 -0500 |
| commit | 9e7a3e63a911a4a8464c545ee5fe94c981e01394 (patch) | |
| tree | e38d9648c19c10b598ebe131a0d67fb67ca26e96 | |
| parent | 2daa25feb59322ab296e4d6e7294ba7c9928cebb (diff) | |
| download | homebrew-9e7a3e63a911a4a8464c545ee5fe94c981e01394.tar.bz2 | |
graphicsmagick: --disable-openmp unless using gcc
Graphicsmagick's OpenMP support is disabled with clang, but it also
fails to build using llvm.
| -rw-r--r-- | Library/Formula/graphicsmagick.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/graphicsmagick.rb b/Library/Formula/graphicsmagick.rb index 231657426..ae745944d 100644 --- a/Library/Formula/graphicsmagick.rb +++ b/Library/Formula/graphicsmagick.rb @@ -53,7 +53,7 @@ class Graphicsmagick < Formula "--prefix=#{prefix}", "--enable-shared", "--disable-static"] args << "--without-magick-plus-plus" if build.include? 'without-magick-plus-plus' - args << "--disable-openmp" if MacOS.version == :leopard or ENV.compiler == :clang # libgomp unavailable + args << "--disable-openmp" if MacOS.version == :leopard or not ENV.compiler == :gcc # libgomp unavailable args << "--with-gslib" if ghostscript_srsly? args << "--with-gs-font-dir=#{HOMEBREW_PREFIX}/share/ghostscript/fonts" \ unless ghostscript_fonts? |
