Prechádzať zdrojové kódy

DOWNLOAD: don't use := assignment for function implementation

:= causes the function parameters to get evaluated at definition time
instead of implementation time, which is kind of silly for a function.

Fixes make source-check / external-deps
Peter Korsgaard 16 rokov pred
rodič
commit
3e06e4cec6
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      package/Makefile.autotools.in

+ 1 - 1
package/Makefile.autotools.in

@@ -134,7 +134,7 @@ TERM_RESET := $(shell tput rmso)
 
 # support make source-check/external-deps
 ifneq ($(SPIDER),)
-DOWNLOAD:=$(WGET) -P $(DL_DIR) $(1)/$(2)
+DOWNLOAD=$(WGET) -P $(DL_DIR) $(1)/$(2)
 else
 define DOWNLOAD
 	$(Q)test -e $(DL_DIR)/$(2) || \