aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-08-09 12:05:53 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2017-08-09 12:06:08 -0400
commitfc2aafe4a55beb7fe73b9f4cbbb1e49f5b7cb2dd (patch)
treef16ab98b87536fbe9b5b3fd90e818fb3d71aa8b0 /src
parentfe578cbd4b4262496d44cb5cd110eae3c4aff48c (diff)
downloadpostgresql-fc2aafe4a55beb7fe73b9f4cbbb1e49f5b7cb2dd.tar.gz
postgresql-fc2aafe4a55beb7fe73b9f4cbbb1e49f5b7cb2dd.zip
Prevent passing down MAKELEVEL/MAKEFLAGS from non-GNU make to GNU make.
FreeBSD's make, for one, sets the MAKELEVEL environment variable when invoking commands. In the special Makefile we provide to hand off control from a non-GNU make to GNU make, this causes GNU make to think it is a child make invocation rather than top-level. That interferes with the hack added in commit dcae5facc to cause the temp-install tree to be made only by the top-level invocation of gmake. Unset the variable to prevent that. Likewise unset MAKEFLAGS, which FreeBSD's make also sets, and which could easily confuse gmake. There are no reports of actual trouble from that, but it seems better to be proactive. Back-patch to 9.5 where dcae5facc came in. Thomas Munro, hacked a bit more by me Discussion: https://postgr.es/m/CAEepm=1ueww35AXTkt1A3gyzZUqv5XCzh8RUNvJZAQAW=eOhVw@mail.gmail.com
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions