diff options
author | Russ Cox <rsc@golang.org> | 2013-08-14 00:18:20 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2013-08-14 00:18:20 -0400 |
commit | 245c93c1a5b71a209111c5d8b80b46c7104df5c9 (patch) | |
tree | 2d6e17bbcc1000f3d007758609eacbac9fe51cd2 /src/cmd/dist | |
parent | c319825dc1404fc35785fcd134a2a0d28b3b13b4 (diff) | |
download | go-245c93c1a5b71a209111c5d8b80b46c7104df5c9.tar.gz |
encoding: new package
See golang.org/s/go12encoding for design.
R=r
CC=golang-dev
https://codereview.appspot.com/12541051
Diffstat (limited to 'src/cmd/dist')
-rw-r--r-- | src/cmd/dist/build.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/dist/build.c b/src/cmd/dist/build.c index 07a47a395..fa43c77e5 100644 --- a/src/cmd/dist/build.c +++ b/src/cmd/dist/build.c @@ -992,6 +992,8 @@ install(char *dir) vadd(&compile, bprintf(&b, "GOOS_%s", goos)); vadd(&compile, "-D"); vadd(&compile, bprintf(&b, "GOARCH_%s", goarch)); + vadd(&compile, "-D"); + vadd(&compile, bprintf(&b, "GOOS_GOARCH_%s_%s", goos, goarch)); } bpathf(&b, "%s/%s", workdir, lastelem(files.p[i])); @@ -1265,6 +1267,7 @@ static char *buildorder[] = { "pkg/os", "pkg/reflect", "pkg/fmt", + "pkg/encoding", "pkg/encoding/json", "pkg/flag", "pkg/path/filepath", @@ -1317,6 +1320,7 @@ static char *cleantab[] = { "pkg/bufio", "pkg/bytes", "pkg/container/heap", + "pkg/encoding", "pkg/encoding/base64", "pkg/encoding/json", "pkg/errors", |