diff options
| author | Jessica Frazelle <jess@docker.com> | 2014-10-28 16:25:50 -0700 |
|---|---|---|
| committer | Jessica Frazelle <jess@docker.com> | 2014-10-28 16:25:50 -0700 |
| commit | 17e0a15386c2a2ff01417d66e37683bd9a2a79c8 (patch) | |
| tree | 1ad7451cd6499e0c2249e4f9ed3be2d69ce3790f /hack/make/binary | |
| parent | d176d1bfb4b59c5f1dcdebd42a8e22887ea1b80f (diff) | |
| download | docker-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-x | hack/make/binary | 11 |
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[@]}" \ |
