Skip to content

Commit

Permalink
fix: update build cmd in makefile
Browse files Browse the repository at this point in the history
Signed-off-by: purelind <purelind@gmail.com>
  • Loading branch information
purelind committed Oct 17, 2023
1 parent ca20218 commit 5b88d5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/globalkilltest/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ clean:
server:
ifeq ($(TARGET), "")
cd ${BASE_DIR} && \
CGO_ENABLED=1 $(GOBUILD) $(RACE_FLAG) -ldflags '$(LDFLAGS) $(GLOBAL_KILL_TEST_SERVER_LDFLAGS) $(CHECK_FLAG)' -o $(OUT_DIR)/globalkilltest_tidb-server tidb-server/main.go
CGO_ENABLED=1 $(GOBUILD) $(RACE_FLAG) -ldflags '$(LDFLAGS) $(GLOBAL_KILL_TEST_SERVER_LDFLAGS) $(CHECK_FLAG)' -o $(OUT_DIR)/globalkilltest_tidb-server ${BASE_DIR}/cmd/tidb-server
else
cd ${BASE_DIR} && \
CGO_ENABLED=1 $(GOBUILD) $(RACE_FLAG) -ldflags '$(LDFLAGS) $(GLOBAL_KILL_TEST_SERVER_LDFLAGS) $(CHECK_FLAG)' -o '$(TARGET)' tidb-server/main.go
CGO_ENABLED=1 $(GOBUILD) $(RACE_FLAG) -ldflags '$(LDFLAGS) $(GLOBAL_KILL_TEST_SERVER_LDFLAGS) $(CHECK_FLAG)' -o '$(TARGET)' ${BASE_DIR}/cmd/tidb-server
endif

0 comments on commit 5b88d5b

Please sign in to comment.