Logo
Explore Help
Sign In
admin/brew
1
0
Fork 0
You've already forked brew
Code Issues Packages Projects Releases 6 Wiki Activity
brew/Library/ENV/4.3/make

9 lines
219 B
Plaintext
Raw Normal View History

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
#!/bin/sh
export HOMEBREW_CCCFG="O$HOMEBREW_CCCFG"
bsdmake is *not* provided by Xcode/CLT Fixes Homebrew/homebrew#14626. Also make proctools install do prefixes other than /usr/local.
2012-09-02 11:21:07 -04:00
if [ $(basename "$0") == "bsdmake" ]; then
pwd="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
exec "$pwd/../../../bin/bsdmake" "$@"
else
exec xcrun make "$@"
fi
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 704ms Template: 7ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API