Преглед на файлове

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]