aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ghc.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/ghc.rb b/Library/Formula/ghc.rb
index e07483b85..e34b934b8 100644
--- a/Library/Formula/ghc.rb
+++ b/Library/Formula/ghc.rb
@@ -44,6 +44,13 @@ class Ghc < Formula
end
end
+ fails_with :llvm do
+ cause <<-EOS.undent
+ cc1: error: unrecognized command line option "-Wno-invalid-pp-token"
+ cc1: error: unrecognized command line option "-Wno-unicode"
+ EOS
+ end
+
if build.build_32_bit? || !MacOS.prefer_64_bit? || MacOS.version < :mavericks
fails_with :clang do
cause <<-EOS.undent