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.
This commit is contained in:
parent
bf0c896c34
commit
9ece93ea49
@ -1,4 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
export HOMEBREW_CCCFG="O${HOMEBREW_CCCFG}"
|
||||
exec xcrun bsdmake "$@"
|
||||
1
Library/Homebrew/shims/mac/super/bsdmake
Symbolic link
1
Library/Homebrew/shims/mac/super/bsdmake
Symbolic link
@ -0,0 +1 @@
|
||||
make
|
||||
@ -1,4 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
export HOMEBREW_CCCFG="O${HOMEBREW_CCCFG}"
|
||||
exec xcrun "make" "$@"
|
||||
|
||||
SHIM_FILE="${0##*/}"
|
||||
|
||||
if xcrun --find "${SHIM_FILE}" &>/dev/null
|
||||
then
|
||||
exec xcrun "${SHIM_FILE}" "$@"
|
||||
else
|
||||
exec xcrun make "$@"
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user