fix: Makefile

This commit is contained in:
yusing 2025-04-05 14:29:12 +08:00
parent e823172c31
commit edb4b59254

View file

@ -28,9 +28,7 @@ ifeq ($(debug), 1)
CGO_ENABLED = 0
GODOXY_DEBUG = 1
BUILD_FLAGS += -gcflags=all='-N -l'
endif
ifeq ($(pprof), 1)
else ifeq ($(pprof), 1)
CGO_ENABLED = 1
GORACE = log_path=logs/pprof strip_path_prefix=$(shell pwd)/ halt_on_error=1
BUILD_FLAGS = -tags pprof