From 555b166fd359848442f29ff784957eb20a533db2 Mon Sep 17 00:00:00 2001 From: Jguer Date: Fri, 7 Dec 2018 13:50:57 +0000 Subject: [PATCH] Readd gopath tweaks to function in makepkg. Only for gcc-go --- .go/src | 1 + Makefile | 1 + 2 files changed, 2 insertions(+) create mode 120000 .go/src 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