LLVM: Disable OCaml bindings by default

The build attempts, and fails, to compile the OCaml bindings by default if
OCaml is installed.

Fixes #8947.
This commit is contained in:
Charlie Sharpsteen committed 2011-12-03 14:57:49 -08:00
1 parent afeabeb1f5
commit c246ee22c1
1 file changed
+9 -2
+9 -2
View File
@@ -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"