Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita76200d

Browse files
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.com
1 parent13f03a0 commita76200d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ all check install installdirs installcheck installcheck-parallel uninstall clean
2929
\
3030
if [ x"$${GMAKE+set}"= xset ];then \
3131
echo"Using GNU make found at$${GMAKE}";\
32+
unset MAKEFLAGS;unset MAKELEVEL;\
3233
$${GMAKE}$@;\
3334
else\
3435
echo"You must use GNU make to build PostgreSQL.";\

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp