mirror of
https://github.com/NixOS/nix
synced 2025-07-16 02:01:59 +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
|
@ -15,7 +15,7 @@ programs-list :=
|
|||
#
|
||||
# - $(1)_INSTALL_DIR: the directory where the program will be
|
||||
# installed; defaults to $(bindir).
|
||||
define build-program =
|
||||
define build-program
|
||||
_d := $$($(1)_DIR)
|
||||
_srcs := $$(sort $$(foreach src, $$($(1)_SOURCES), $$(src)))
|
||||
$(1)_OBJS := $$(addsuffix .o, $$(basename $$(_srcs)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue