From 8cb8a7090a4c0128c63558ed67199dd3faa3449d Mon Sep 17 00:00:00 2001 From: niuwanli Date: Tue, 7 Nov 2023 17:54:22 +0800 Subject: [PATCH] =?UTF-8?q?fixbug,=20=E4=BF=AE=E5=A4=8Draptor=E7=9A=84Make?= =?UTF-8?q?file=20build=E9=83=A8=E5=88=86=E7=BC=96=E5=86=99=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/tools/monitor/raptor/source/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/tools/monitor/raptor/source/Makefile b/source/tools/monitor/raptor/source/Makefile index d1a729f8..59389bc1 100644 --- a/source/tools/monitor/raptor/source/Makefile +++ b/source/tools/monitor/raptor/source/Makefile @@ -24,9 +24,9 @@ goenv: .PHONY: build build: - @echo "Complie Golong Code..." \ - CGO_CFLAGS="$(EXTRA_CGO_CFLAGS)" \ - CGO_LDFLAGS="$(EXTRA_CGO_LDFLAGS)" \ + @echo "Complie Golong Code..." + CGO_CFLAGS="$(EXTRA_CGO_CFLAGS)" + CGO_LDFLAGS="$(EXTRA_CGO_LDFLAGS)" go build -ldflags "-linkmode external -extldflags '-static' -X 'main.version=$(RELEASE_VERSION)' \ -X 'main.commitId=$(RELEASE_COMMIT)' -X 'main.releaseTime=$(RELEASE_TIME)' \ -X 'main.goVersion=$(RELEASE_GOVERSION)' -X 'main.author=$(RELEASE_AUTHOR)'" -o raptor -- Gitee