Readd gopath tweaks to function in makepkg. Only for gcc-go

This commit is contained in:
Jguer 2018-12-07 13:50:57 +00:00
parent cc0036c43b
commit 555b166fd3
No known key found for this signature in database
GPG Key ID: 09754DBECF21746F
2 changed files with 2 additions and 0 deletions

1
.go/src Symbolic link
View File

@ -0,0 +1 @@
../vendor

View File

@ -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