Makefile: detected TINYGO now works even if a rule changes directory

This commit is contained in:
Dan Kegel
2022-01-20 14:15:42 -08:00
committed by Ron Evans
parent 9c3f9537be
commit f4fdf8dce9
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ GOTESTFLAGS ?= -v
MD5SUM = md5sum
# tinygo binary for tests
TINYGO ?= $(call detect,tinygo,tinygo build/tinygo)
TINYGO ?= $(call detect,tinygo,tinygo $(CURDIR)/build/tinygo)
# Use CCACHE for LLVM if possible
ifneq (, $(shell command -v ccache 2> /dev/null))