소스 검색

Merge pull request #826 from Jguer/gcc-go

Readd gopath tweaks to function in makepkg. Only for gcc-go
J Guerreiro 6 년 전
부모
커밋
14cb1c587f
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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