From 34b44e18afd1f1f817cefe7804da5b4dd77a792b Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 14 May 2019 09:52:23 +0200 Subject: makefile: use CURDIR not PWD for -C operation --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0ddcd353..d0cd21f7 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ export CGO_ENABLED := 1 export CGO_CFLAGS := -O3 -Wall -Wno-switch -std=gnu11 -DWINVER=0x0601 export GOOS := windows OLD_GOROOT := $(GOROOT) -export GOROOT := $(PWD)/.deps/goroot +export GOROOT := $(CURDIR)/.deps/goroot rwildcard=$(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) $(filter $(subst *,%,$2),$d)) SOURCE_FILES := $(call rwildcard,,*.go *.c *.h) .deps/prepared -- cgit v1.2.3-59-g8ed1b