Commit e466bfea authored by Fabian M. Borschel's avatar Fabian M. Borschel Committed by Mislav Marohnić
Browse files

Set default MAKE=gmake on FreeBSD

parent cb1128ca
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -793,8 +793,12 @@ if "${CC:-cc}" -x c /dev/null -E -Wno-error=shorten-64-to-32 &>/dev/null; then
fi

if [ -z "$MAKE" ]; then
  if [[ "FreeBSD" = "$(uname -s)" ]]; then
    export MAKE="gmake"
  else
    export MAKE="make"
  fi
fi

if [ -n "$RUBY_BUILD_CACHE_PATH" ] && [ -d "$RUBY_BUILD_CACHE_PATH" ]; then
  RUBY_BUILD_CACHE_PATH="${RUBY_BUILD_CACHE_PATH%/}"