Repository: incubator-htrace Updated Branches: refs/heads/master 4c91ef5dc -> 4a101e0d1
HTRACE-361. Fix "link: warning: option -X main.RELEASE_VERSION unknown_release may not work in future releases" warning message. (Colin Patrick McCabe via iwasakims) Project: http://git-wip-us.apache.org/repos/asf/incubator-htrace/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-htrace/commit/4a101e0d Tree: http://git-wip-us.apache.org/repos/asf/incubator-htrace/tree/4a101e0d Diff: http://git-wip-us.apache.org/repos/asf/incubator-htrace/diff/4a101e0d Branch: refs/heads/master Commit: 4a101e0d1c435937feba9fc876882ffbf71259b1 Parents: 4c91ef5 Author: Masatake Iwasaki <[email protected]> Authored: Mon May 2 06:29:32 2016 +0900 Committer: Masatake Iwasaki <[email protected]> Committed: Mon May 2 06:29:32 2016 +0900 ---------------------------------------------------------------------- htrace-htraced/go/gobuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-htrace/blob/4a101e0d/htrace-htraced/go/gobuild.sh ---------------------------------------------------------------------- diff --git a/htrace-htraced/go/gobuild.sh b/htrace-htraced/go/gobuild.sh index 98123be..4728047 100755 --- a/htrace-htraced/go/gobuild.sh +++ b/htrace-htraced/go/gobuild.sh @@ -131,7 +131,7 @@ install) # Inject the release and git version into the htraced ldflags. echo "Building ${RELEASE_VERSION} [${GIT_VERSION}]" - FLAGS="-X main.RELEASE_VERSION ${RELEASE_VERSION} -X main.GIT_VERSION ${GIT_VERSION}" + FLAGS="-X main.RELEASE_VERSION=${RELEASE_VERSION} -X main.GIT_VERSION=${GIT_VERSION}" go install ${TAGS} -ldflags "${FLAGS}" -v htrace/... "$@" \ || die "go install failed." # Set the RPATH to make bundling leveldb and snappy easier.
