mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-19 20:32:35 +02:00
fix: Makefile
This commit is contained in:
parent
e823172c31
commit
edb4b59254
1 changed files with 1 additions and 3 deletions
4
Makefile
4
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
|
||||
|
|
Loading…
Add table
Reference in a new issue