aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAnil Madhavapeddy2012-10-17 11:28:19 -0700
committerMike McQuaid2012-10-21 17:36:57 +0100
commit0eaa72900c8634ac49ef6ceedaee388f96d03e0c (patch)
treee8658e9288236318365e0f84e19eefc8457bcdb3 /Library
parentd5aea5056922a4f90ba6a7279aa7251e51937cef (diff)
downloadhomebrew-0eaa72900c8634ac49ef6ceedaee388f96d03e0c.tar.bz2
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>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/objective-caml.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/objective-caml.rb b/Library/Formula/objective-caml.rb
index 8c1966f04..1d347720d 100644
--- a/Library/Formula/objective-caml.rb
+++ b/Library/Formula/objective-caml.rb
@@ -19,6 +19,7 @@ class ObjectiveCaml < Formula
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"