From edb4b592549aca560b04b67bd4374384f39fcd91 Mon Sep 17 00:00:00 2001 From: yusing Date: Sat, 5 Apr 2025 14:29:12 +0800 Subject: [PATCH] fix: Makefile --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f0a640f..1744af2 100755 --- a/Makefile +++ b/Makefile @@ -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