diff options
| author | Max Howell | 2012-08-30 10:03:26 -0400 |
|---|---|---|
| committer | Max Howell | 2012-08-30 20:02:29 -0400 |
| commit | 7aa496efed02bb7cd59866c1d7954799128832a5 (patch) | |
| tree | 2ccde1b7c0153f063f63f22809f36c0f8ab1efc0 /Library/Formula | |
| parent | b41ba217b112b6962efa21edef80ce3ccab6d79c (diff) | |
| download | homebrew-7aa496efed02bb7cd59866c1d7954799128832a5.tar.bz2 | |
Fixes #14542; ocaml superenv issues
This patch removes most of the settings for CC, CXX etc. because we are trying to be minimal. Then we force the compiler to Homebrew's choice underneath in superenv. We however leave LD because we prefer that build-systems use the c-compiler for linking, it generally works better (copiously tested), however when the build-system explicitly calls ld, we respect that. This gets around the ocaml bug in question, since somehow clang was crashing during link, but the ld tool itself (which is kind of clang, kind of llvm-gcc) is okay with this.
Also moved the setting of O (so that cc-args are refurbished) into a make wrapper. Not sure if this matter much, but seems more consistent.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/objective-caml.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Library/Formula/objective-caml.rb b/Library/Formula/objective-caml.rb index e60343e5d..808d15a80 100644 --- a/Library/Formula/objective-caml.rb +++ b/Library/Formula/objective-caml.rb @@ -9,9 +9,6 @@ class ObjectiveCaml < Formula depends_on :x11 - # Don't strip symbols, so dynamic linking doesn't break. - skip_clean :all - # See http://caml.inria.fr/mantis/view.php?id=5700 def patches "http://caml.inria.fr/mantis/file_download.php?file_id=722&type=bug" |
