Add -a to our BUILDFLAGS directly, which fixes some fun test compilation issues

Also, now that we use "-a", we no longer get any benefit from "go test -i", and it actually causes problems sometimes, so let's nuke it.
Upstream-commit: fbac8125408c076317f3f51239394cd6b7351b49
Component: engine
This commit is contained in:
Tianon Gravi
2013-12-18 11:25:08 -07:00
parent 5f28e84d16
commit 70fa345719
3 changed files with 3 additions and 7 deletions

View File

@ -2,5 +2,5 @@
DEST=$1
go build -a -o $DEST/docker-$VERSION -ldflags "$LDFLAGS $LDFLAGS_STATIC" $BUILDFLAGS ./docker
go build -o $DEST/docker-$VERSION -ldflags "$LDFLAGS $LDFLAGS_STATIC" $BUILDFLAGS ./docker
echo "Created binary: $DEST/docker-$VERSION"