This website requires JavaScript.
Explore
Help
Sign In
admin
/
brew
Watch
1
Star
0
Fork
0
You've already forked brew
Code
Issues
Packages
Projects
Releases
6
Wiki
Activity
brew
/
Library
/
ENV
/
4.3
/
make
4 lines
74 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Set CC and CXX with superenv (again) It was dumb to have make call different compilers to configure depending on the `servile?` flag. This is not a route to reliability. Instead now we set CC (formula that break if CC is set like Jack be damned, their build-systems are just plain broken and should not be supported). When cc is called we examine HOMEBREW_CC, otherwise we instantiate the tool that was called, just like the formula's build-system will expect. Fixes Homebrew/homebrew#14659 (though the build fails later for me, with the same error for stdenv and superenv).
2012-09-03 11:56:29 -04:00
#!/bin/bash
Fixes Homebrew/homebrew#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.
2012-08-30 10:03:26 -04:00
export HOMEBREW_CCCFG="O$HOMEBREW_CCCFG"
Revert "Simplify bsdmake wrapper" Fixes Homebrew/homebrew#34713. This reverts commit e4461afd36f04b1cd3cf56ec0636202150ce0570.
2014-12-05 16:54:07 -05:00
exec xcrun make "$@"
Reference in New Issue
Copy Permalink