Explorar o código

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

Jguer %!s(int64=6) %!d(string=hai) anos
pai
achega
555b166fd3
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  1. 1 0
      .go/src
  2. 1 0
      Makefile

+ 1 - 0
.go/src

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

+ 1 - 0
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