aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorDan Kegel <[email protected]>2022-01-20 14:15:42 -0800
committerRon Evans <[email protected]>2022-01-21 07:39:47 +0100
commitf4fdf8dce990058adff06b85819bc41b9038a0b1 (patch)
tree7cd8763ab170d544434a8911757d2b80692b123f /Makefile
parent9c3f9537be5a3a0182ea4fe0b26e8cefa442c815 (diff)
downloadtinygo-f4fdf8dce990058adff06b85819bc41b9038a0b1.tar.gz
tinygo-f4fdf8dce990058adff06b85819bc41b9038a0b1.zip
Makefile: detected TINYGO now works even if a rule changes directory
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0fc074515..88e0df346 100644
--- a/Makefile
+++ b/Makefile
@@ -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))