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/Homebrew/shims/mac/super/make

13 lines
191 B
Plaintext
Raw Normal View History

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
shims/make: fix style inconsistencies
2016-08-07 12:54:25 +02:00
shims/mac/super/make: repair style
2021-04-18 18:44:59 +09:00
export HOMEBREW_CCCFG="O${HOMEBREW_CCCFG}"
shims/mac: handle usage of Homebrew `make` We have a handful of formulae that use Homebrew `make` to build. Doing this evades our compiler shims. Let's try to avoid this by allowing our shims to support usage of Homebrew `make` by calling it as `gmake` in the formula.
2023-07-12 02:16:32 +08:00
SHIM_FILE="${0##*/}"
if xcrun --find "${SHIM_FILE}" &>/dev/null
then
exec xcrun "${SHIM_FILE}" "$@"
else
exec xcrun make "$@"
fi
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 545ms Template: 2ms
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