aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/objective-caml.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/objective-caml.rb')
-rw-r--r--Library/Formula/objective-caml.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/objective-caml.rb b/Library/Formula/objective-caml.rb
index 1db2f28a9..acf8a95a1 100644
--- a/Library/Formula/objective-caml.rb
+++ b/Library/Formula/objective-caml.rb
@@ -19,10 +19,10 @@ class ObjectiveCaml < Formula
args = %W[
--prefix #{HOMEBREW_PREFIX}
--mandir #{man}
- -cc #{ENV.cc}
-with-debug-runtime
]
- args << "-aspp" << "#{ENV.cc} -c"
+ args << "-cc" << "#{ENV.cc} #{ENV.cflags}"
+ args << "-aspp" << "#{ENV.cc} #{ENV.cflags} -c"
args << "-no-graph" if build.without? "x11"
ENV.deparallelize # Builds are not parallel-safe, esp. with many cores