Permalink
Browse files

objective-caml: build the debug runtime variant.

This can be optionally linked via the `-runtime-variant d` compiler flag.

Closes #15520.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information...
1 parent d5aea50 commit 0eaa72900c8634ac49ef6ceedaee388f96d03e0c @avsm avsm committed with MikeMcQuaid Oct 17, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 Library/Formula/objective-caml.rb
@@ -19,6 +19,7 @@ def install
system "./configure", "--prefix", HOMEBREW_PREFIX,
"--mandir", man,
"-cc", ENV.cc,
+ "-with-debug-runtime",
"-aspp", "#{ENV.cc} -c"
ENV.deparallelize # Builds are not parallel-safe, esp. with many cores
system "make world"

0 comments on commit 0eaa729

Please sign in to comment.