Skip to content

Commit

Permalink
Merge pull request #486 from tomdee/non-static-builds
Browse files Browse the repository at this point in the history
Makefile: Disable static builds of flanneld
  • Loading branch information
tomdee authored Aug 12, 2016
2 parents 982dbdb + ac36a3f commit 18ddbd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ IPTABLES_VERSION=1.4.21

dist/flanneld: $(shell find . -type f -name '*.go')
go build -o dist/flanneld \
-ldflags "-extldflags -static -X github.com/coreos/flannel/version.Version=$(TAG)"
-ldflags "-X github.com/coreos/flannel/version.Version=$(TAG)"

test: license-check gofmt
go test -cover $(TEST_PACKAGES_EXPANDED)
Expand Down Expand Up @@ -87,7 +87,7 @@ ifeq ($(ARCH),amd64)
docker push $(REGISTRY)/flannel:$(TAG)
endif

## Build an architecture specific static flanneld binary
## Build an architecture specific flanneld binary
dist/flanneld-$(ARCH):
# Build for other platforms with ARCH=$ARCH make build
# valid values for $ARCH are [amd64 arm arm64 ppc64le]
Expand Down

0 comments on commit 18ddbd5

Please sign in to comment.