待辦事項 #39936

Update msys-make

啟用日期: 2020-01-19 07:29 最後更新: 2020-01-19 08:16

回報者:
負責人:
(無)
類型:
狀態:
開啟
元件:
里程碑:
(無)
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
檔案:
1
Vote
Score: 2
100.0% (2/2)
0.0% (0/2)

細節

This is a proposal to update the version of make provided in the msys-make package to a version that supports multiline define syntax:
https://www.gnu.org/software/make/manual/html_node/Multi_002dLine.html
It will facilitate the building of projects that rely on that feature of make, and generally on any feature introduced since make 3.81,which was released in 2006.

In this particular case, the request was prompted by the inability to build dosbox-staging:
https://github.com/dreamer/dosbox-staging

Ticket History (3/5 Histories)

2020-01-19 07:29 Updated by: ant_222
  • New Ticket "Update msys-make" created
2020-01-19 07:37 Updated by: ant_222
評語

I have attached a test makefile that uses the feature requested.

2020-01-19 08:13 Updated by: keith
評語

I suspect that the issue is not so much that msys-make doesn't support the define directive — that's been supported by every version of gnu-make which I recall using, over the past twenty years or so — but rather that your example usage requires support for the (redundant) = operator following the defined variable name; that syntax was introduced by gnu-make version 4.x, and isn't supported by earlier versions.

Notwithstanding that you may be able to work around this, in your particular usage case, by simply removing that redundant operator, an updated release would certainly be welcome. However, I will leave it to Cesar to set an appropriate update schedule.

2020-01-19 08:16 Updated by: ant_222
評語

Thank you, Keith, for providing a workaround and accepting to fulfill the ticket.

Attachment File List

編輯

Please login to add comment to this ticket » 登入