소스 검색

Makefile: Disable static builds of flanneld

It causes problems with the gce backend and I believe it's hitting
this bug https://sourceware.org/bugzilla/show_bug.cgi?id=19341
Tom Denham 8 년 전
부모
커밋
ac36a3ffe0
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      Makefile

+ 2 - 2
Makefile

@@ -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)
@@ -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]