git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Makefiles are broken as of GNU Make commit 07fcee35f058a876447c8a021f9eb1943f902534

From
DGDario Gjorgjevski <dario.gjorgjevski@gmail.com>
Date
Apr 8, 2024, 10:44 UTC
Message-ID
<CAJm4QYOxn_s8ktJiC6ju2j4OyEYaM2ay7Ca--ZWFWa7APVnTbA@mail.gmail.com>
Hi,

Git has plenty of conditional statements in its Makefiles which begin with the recipe prefix (tab). This used to work in the past, but no longer does as of GNU Make commit 07fcee35f058a876447c8a021f9eb1943f902534: https://git.savannah.gnu.org/cgit/make.git/commit/?id=07fcee35f058a876447c8a021f9eb1943f902534. This commit has not yet landed in a release, but it probably will in the future.

A similar bug was recently fixed in the Linux kernel: https://github.com/torvalds/linux/commit/82175d1f9430d5a026e2231782d13da0bf57155c.

Best regards, Dario

Next: Taylor Blau
Message 1 of 13 in “Makefiles are broken as of GNU Make commit 07fcee35f058a876447c8a021f9eb1943f902534”
  1. Dario GjorgjevskiApr 8, 2024
  2. Makefile(s): avoid recipe prefix in conditional statementsTaylor Blau, Apr 8, 2024
  3. Junio C HamanoApr 8, 2024
  4. Paul SmithApr 8, 2024
  5. Junio C HamanoApr 8, 2024
  6. Paul SmithApr 9, 2024
  7. Junio C HamanoApr 8, 2024
  8. Paul SmithApr 9, 2024
  9. Junio C HamanoApr 9, 2024
  10. Jeff KingApr 9, 2024
  11. Jeff KingApr 9, 2024
  12. Paul SmithApr 9, 2024
  13. Junio C HamanoApr 8, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.