summaryrefslogtreecommitdiff
path: root/hack/make/binary
diff options
context:
space:
mode:
authorJessica Frazelle <jess@docker.com>2014-10-28 16:25:50 -0700
committerJessica Frazelle <jess@docker.com>2014-10-28 16:25:50 -0700
commit17e0a15386c2a2ff01417d66e37683bd9a2a79c8 (patch)
tree1ad7451cd6499e0c2249e4f9ed3be2d69ce3790f /hack/make/binary
parentd176d1bfb4b59c5f1dcdebd42a8e22887ea1b80f (diff)
downloaddocker-17e0a15386c2a2ff01417d66e37683bd9a2a79c8.tar.gz
Revert "Use code generation to set IAMSTATIC instead of -X"
This reverts commit 3e10b93106dea94e5747ab32fe4ac765aa22f9bc. Conflicts: .gitignore hack/make.sh hack/make/dynbinary Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
Diffstat (limited to 'hack/make/binary')
-rwxr-xr-xhack/make/binary11
1 files changed, 0 insertions, 11 deletions
diff --git a/hack/make/binary b/hack/make/binary
index 2c71f201b9..b97069a856 100755
--- a/hack/make/binary
+++ b/hack/make/binary
@@ -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[@]}" \