浏览代码

build: Use purego tags on 'all' target

Jakob Borg 9 年之前
父节点
当前提交
0e996c4664
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      build.go

+ 1 - 0
build.go

@@ -61,6 +61,7 @@ var targets = map[string]target{
 		// Only valid for the "build" and "install" commands as it lacks all
 		// the archive creation stuff.
 		buildPkg: "./cmd/...",
+		tags:     []string{"purego"},
 	},
 	"syncthing": {
 		// The default target for "build", "install", "tar", "zip", "deb", etc.