Browse Source

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
REL_12_STABLE
Thomas Munro 3 weeks ago
parent
commit
0089c3059c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Makefile

+ 1
- 1
Makefile View File

@@ -33,7 +33,7 @@ all check install installdirs installcheck installcheck-parallel uninstall clean
33 33
 	\
34 34
 	 if [ x"$${GMAKE+set}" = xset ]; then \
35 35
 	   echo "Using GNU make found at $${GMAKE}"; \
36
-	   unset MAKEFLAGS; unset MAKELEVEL; \
36
+	   unset MAKELEVEL; \
37 37
 	   $${GMAKE} $@ ; \
38 38
 	 else \
39 39
 	   echo "You must use GNU make to build PostgreSQL." ; \

Loading…
Cancel
Save