From 1753771356207382999a86091a68646bfe9ee166 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Mon, 6 Jun 2016 11:39:08 +0000 Subject: [PATCH] build: Tags must be joined by space, not comma (fixes #3262) GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3268 --- build.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.go b/build.go index 1d5df3e43..76e900fee 100644 --- a/build.go +++ b/build.go @@ -362,7 +362,7 @@ func install(target target, tags []string) { os.Setenv("GOBIN", filepath.Join(cwd, "bin")) args := []string{"install", "-v", "-ldflags", ldflags()} if len(tags) > 0 { - args = append(args, "-tags", strings.Join(tags, ",")) + args = append(args, "-tags", strings.Join(tags, " ")) } if race { args = append(args, "-race") @@ -382,7 +382,7 @@ func build(target target, tags []string) { rmr(target.binaryName) args := []string{"build", "-i", "-v", "-ldflags", ldflags()} if len(tags) > 0 { - args = append(args, "-tags", strings.Join(tags, ",")) + args = append(args, "-tags", strings.Join(tags, " ")) } if race { args = append(args, "-race")