diff --git a/CHANGES.md b/CHANGES.md index a9bc2b3b..1e5ea60f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -7,6 +7,8 @@ Release Notes. #### Features * Separate multiple process for reading connection information in the access log module. * Add a delay time before delete the connection in the access log module. +* Fix context structs parameters for tracepoint programs. +* Improve the build of skywalking-rover by adding some options. #### Bug Fixes * Fix the base image cannot run in the arm64. diff --git a/scripts/build/build.mk b/scripts/build/build.mk index 465117b8..a915ec08 100644 --- a/scripts/build/build.mk +++ b/scripts/build/build.mk @@ -19,7 +19,7 @@ BINARY = skywalking-rover OUT_DIR = bin -GO_BUILD_FLAGS = -v +GO_BUILD_FLAGS = -buildvcs=false -v GO_BUILD_LDFLAGS = -X main.version=$(VERSION) PLATFORMS := linux @@ -36,7 +36,7 @@ deps: .PHONY: $(PLATFORMS) $(PLATFORMS): deps mkdir -p $(OUT_DIR) - GOOS=$(os) GOARCH=$(ARCH) $(GO_BUILD) $(GO_BUILD_FLAGS) -ldflags "$(GO_BUILD_LDFLAGS)" -o $(OUT_DIR)/$(BINARY)-$(VERSION)-$(os)-$(ARCH) ./cmd + CGO_ENABLED=0 GOOS=$(os) GOARCH=$(ARCH) $(GO_BUILD) $(GO_BUILD_FLAGS) -ldflags "$(GO_BUILD_LDFLAGS)" -o $(OUT_DIR)/$(BINARY)-$(VERSION)-$(os)-$(ARCH) ./cmd .PHONY: build build: linux