forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita76200d
committed
Prevent passing down MAKELEVEL/MAKEFLAGS from non-GNU make to GNU make.
FreeBSD's make, for one, sets the MAKELEVEL environment variable wheninvoking commands. In the special Makefile we provide to hand off controlfrom a non-GNU make to GNU make, this causes GNU make to think it is achild make invocation rather than top-level. That interferes with the hackadded in commitdcae5fa to cause the temp-install tree to be made only bythe top-level invocation of gmake. Unset the variable to prevent that.Likewise unset MAKEFLAGS, which FreeBSD's make also sets, and which couldeasily confuse gmake. There are no reports of actual trouble from that,but it seems better to be proactive.Back-patch to 9.5 wheredcae5fa came in.Thomas Munro, hacked a bit more by meDiscussion:https://postgr.es/m/CAEepm=1ueww35AXTkt1A3gyzZUqv5XCzh8RUNvJZAQAW=eOhVw@mail.gmail.com1 parent13f03a0 commita76200d
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
| 32 | + | |
32 | 33 |
| |
33 | 34 |
| |
34 | 35 |
| |
|
0 commit comments
Comments
(0)