Revert "Use code generation to set IAMSTATIC instead of -X"

This reverts commit 3e10b93106.

Conflicts:
	.gitignore
	hack/make.sh
	hack/make/dynbinary

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
This commit is contained in:
Jessica Frazelle
2014-10-28 16:25:50 -07:00
parent d176d1bfb4
commit 17e0a15386
4 changed files with 2 additions and 44 deletions
-11
View File
@@ -3,17 +3,6 @@ set -e
DEST=$1
: ${IAMSTATIC:=true}
cat > dockerversion/static.go <<EOF
// AUTOGENERATED FILE; see hack/make/binary and hack/make/dynbinary
package dockerversion
func init() {
IAMSTATIC = $IAMSTATIC
}
EOF
go build \
-o "$DEST/docker-$VERSION" \
"${BUILDFLAGS[@]}" \