OSDN Git Service

Work around make 3.80 bug with long expansions of $(eval).
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 14 Nov 2010 17:50:06 +0000 (12:50 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 14 Nov 2010 17:50:06 +0000 (12:50 -0500)
commit1bd201214965b3eba23bee2c4ce4c14accde170f
tree55e654989555e375ca9f273eb63c3bb0c3641fbb
parent2138c701a397885d4f360c90bf8b95d0d98aecd0
Work around make 3.80 bug with long expansions of $(eval).

3.80 breaks if the expansion of $(eval) is long enough to require expansion
of its internal variable_buffer.  For the purposes of $(recurse) that means
it'll work so long as no single evaluation of _create_recursive_target
produces more than 195 bytes.  We can manage that by looping over
subdirectories outside the call instead of complicating the generated rule.
This coding is simpler and more readable anyway.

Or at least, this works for me.  We'll see if the buildfarm likes it.
src/Makefile.global.in