summarylogtreecommitdiffstats
path: root/ldflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ldflags.patch')
-rw-r--r--ldflags.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/ldflags.patch b/ldflags.patch
deleted file mode 100644
index 894e5bff6beb..000000000000
--- a/ldflags.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/Makefile b/Makefile
-index 59a3c46..1d285ed 100644
---- a/Makefile
-+++ b/Makefile
-@@ -34,7 +34,7 @@ deps:
- rm -rf /home/travis/gopath/src/go.etcd.io/etcd/vendor/golang.org/x/net/trace
-
- build: deps
-- go build $(GO_FLAGS) -ldflags "$(LDFLAGS)" -o $(BINARY) $(SOURCE_DIR)
-+ go build $(GO_FLAGS) -ldflags "-X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${COMMIT} -extldflags $(LDFLAGS)" -o $(BINARY) $(SOURCE_DIR)
-
- linux: deps
- mkdir -p linux