任务单 #39936

Update msys-make

开放日期: 2020-01-19 07:29 最后更新: 2020-01-19 08:16

报告人:
属主:
(无)
类型:
状态:
开启
组件:
里程碑:
(无)
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
文件:
1
Vote
Score: 2
100.0% (2/2)
0.0% (0/2)

Details

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

任务单历史 (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 » 登录名