mirror of
https://github.com/NixOS/nix
synced 2025-07-10 08:53:55 +02:00
GNU Make 3.81 compatibility
3.81 doesn't understand the ‘define foo =’ syntax, which was added in 3.82. So use ‘define foo’ instead.
This commit is contained in:
parent
143224f7cd
commit
4ee6001f95
7 changed files with 12 additions and 12 deletions
|
@ -60,7 +60,7 @@ include mk/tests.mk
|
|||
|
||||
|
||||
# Include all sub-Makefiles.
|
||||
define include-sub-makefile =
|
||||
define include-sub-makefile
|
||||
d := $$(patsubst %/,%,$$(dir $(1)))
|
||||
include $(1)
|
||||
endef
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue