mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-30 20:49:48 -05:00
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:
1 parent
afeabeb1f5
commit
c246ee22c1
1 file changed
+9
-2
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user