aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-11-15 01:00:48 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2010-11-15 01:00:48 -0500
commit357edc9a9952582c510cff1b08ebc5fd8df81a3b (patch)
treec9e2e6afa7e20e2f09e7adc390b89622bbb79e99 /src
parent5ccbc3d802d1690b78f887b2310d2a7258eaae94 (diff)
downloadpostgresql-357edc9a9952582c510cff1b08ebc5fd8df81a3b.tar.gz
postgresql-357edc9a9952582c510cff1b08ebc5fd8df81a3b.zip
Adjust comments about what's needed to avoid make 3.80 bug.
... based on further tracing through that code.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.global.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
index cb5f31c3eab..85cf6177869 100644
--- a/src/Makefile.global.in
+++ b/src/Makefile.global.in
@@ -559,9 +559,10 @@ endif
# This function is only for internal use below. It should be called
# using $(eval). It will set up a target so that it recurses into
# a given subdirectory. Note that to avoid a nasty bug in make 3.80,
-# it is important that the expansion of this function not exceed about
-# 200 bytes. This is why we make it apply to just one subdirectory at a
-# time, rather than to a list of subdirectories.
+# this function has to avoid using any complicated constructs (like
+# multiple targets on a line) and also not contain any lines that expand
+# to more than about 200 bytes. This is why we make it apply to just one
+# subdirectory at a time, rather than to a list of subdirectories.
# $1: target name, e.g., all
# $2: subdir name
# $3: target to run in subdir, usually same as $1