Skip to content

Commit

Permalink
Don't unset MAKEFLAGS in non-GNU Makefile.
Browse files Browse the repository at this point in the history
It's useful to be able to pass down options like -s and -j.

Back-patch to 9.5, like commit a76200d.

Discussion: https://postgr.es/m/CA%2BhUKG%2Be1M8-BbL%3DPqhTp6oO6XPO6%2Bs9WGQMLfbuZ%3DG9CtzyXg%40mail.gmail.com
  • Loading branch information
macdice committed Jun 24, 2019
1 parent a2dec37 commit 0089c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ all check install installdirs installcheck installcheck-parallel uninstall clean
\
if [ x"$${GMAKE+set}" = xset ]; then \
echo "Using GNU make found at $${GMAKE}"; \
unset MAKEFLAGS; unset MAKELEVEL; \
unset MAKELEVEL; \
$${GMAKE} $@ ; \
else \
echo "You must use GNU make to build PostgreSQL." ; \
Expand Down

0 comments on commit 0089c30

Please sign in to comment.