mirror of
https://github.com/NixOS/nix.git
synced 2025-11-26 20:20:58 +01: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
8468806552
commit
0da82efa5d
7 changed files with 12 additions and 12 deletions
2
lib.mk
2
lib.mk
|
|
@ -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