postgres.git / summary / log / commit / refs
commit 3a3b361ccbd8563f3b416e5ab5077b73dccd80e8
Author: Thomas Munro <tmunro@postgresql.org>
Date: Mon Jun 24 21:29:53 2019 +0000
First released in: 12.0, 9.5.19, 9.6.15, 10.10, 11.5
Don't unset MAKEFLAGS in non-GNU Makefile.
It's useful to be able to pass down options like -s and -j.
Back-patch to 9.5, like commit a76200de.
Discussion: https://postgr.es/m/CA%2BhUKG%2Be1M8-BbL%3DPqhTp6oO6XPO6%2Bs9WGQMLfbuZ%3DG9CtzyXg%40mail.gmail.com
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index c400854cd3d..99dcfff654d 100644
--- a/Makefile
+++ b/Makefile
@@ -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." ; \
[parent: da1041fc3a2b]