diff --git a/.go/src b/.go/src new file mode 120000 index 00000000..9c39cc9f --- /dev/null +++ b/.go/src @@ -0,0 +1 @@ +../vendor \ No newline at end of file diff --git a/Makefile b/Makefile index a3deebd2..4fb4c1ad 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,7 @@ BINNAME := yay PACKAGE := ${PKGNAME}_${VERSION}_${ARCH} ifneq (,$(findstring gccgo,$(GOCC))) + export GOPATH=$(shell pwd)/.go LDFLAGS := -gccgoflags '-s -w' MOD := endif