aboutsummaryrefslogtreecommitdiffstats
path: root/Library/ENV/4.3/make
blob: b3df33114513bff2ddb52dcb5b9d414d82681734 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
export HOMEBREW_CCCFG="O$HOMEBREW_CCCFG"
if [ $(basename "$0") == "bsdmake" ]; then
  pwd="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
  bsd="$pwd/../../../bin/bsdmake"
  # bsdmake used to be keg-only: support users who don't run brew doctor
  [ -x "$bsd" ] || bsd="$(brew --prefix bsdmake)/bin/bsdmake"
  exec "$bsd" "$@"
else
  exec xcrun make "$@"
fi