diff options
| author | Charlie Sharpsteen | 2011-12-03 14:56:37 -0800 |
|---|---|---|
| committer | Charlie Sharpsteen | 2011-12-03 14:57:49 -0800 |
| commit | c246ee22c19e5c97d3c6b311877dc0aca342bae1 (patch) | |
| tree | 3f22e447afbc2bcb0229dd9ea8ad3075b718ad6b | |
| parent | afeabeb1f5a95b1ae3bb0791a58ec9519cf990a3 (diff) | |
| download | homebrew-c246ee22c19e5c97d3c6b311877dc0aca342bae1.tar.bz2 | |
LLVM: Disable OCaml bindings by default
The build attempts, and fails, to compile the OCaml bindings by default if
OCaml is installed.
Fixes #8947.
| -rw-r--r-- | Library/Formula/llvm.rb | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Library/Formula/llvm.rb b/Library/Formula/llvm.rb index 10ed1007f..6d8ed6809 100644 --- a/Library/Formula/llvm.rb +++ b/Library/Formula/llvm.rb @@ -56,8 +56,15 @@ class Llvm < Formula ENV['REQUIRES_RTTI'] = '1' if build_rtti? - configure_options = ["--prefix=#{prefix}", - "--enable-optimized"] + configure_options = [ + "--prefix=#{prefix}", + "--enable-optimized", + # As of LLVM 3.0, the only bindings offered are for OCaml and attempting + # to build these when Homebrew's OCaml is installed results in errors. + # + # See issue #8947 for details. + "--enable-bindings=none" + ] if build_all_targets? configure_options << "--enable-targets=all" |
