fix: part of the make rules optimization

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
Xinwei Xiong(cubxxw-openim)
2023-07-31 22:15:22 +08:00
parent 4950ccf4ec
commit 07d01d5cc6
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ GO_LDFLAGS += -X $(VERSION_PACKAGE).gitVersion=$(GIT_TAG) \
-s -w # -s -w deletes debugging information and symbol tables
ifeq ($(DEBUG), 1)
GO_BUILD_FLAGS += -gcflags "all=-N -l"
GO_LDFLAGS=
GO_LDFLAGS =
endif
GO_BUILD_FLAGS += -ldflags "$(GO_LDFLAGS)"