mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-24 01:08:31 +02:00
fix: Makefile
This commit is contained in:
4
Makefile
4
Makefile
@@ -28,9 +28,7 @@ ifeq ($(debug), 1)
|
|||||||
CGO_ENABLED = 0
|
CGO_ENABLED = 0
|
||||||
GODOXY_DEBUG = 1
|
GODOXY_DEBUG = 1
|
||||||
BUILD_FLAGS += -gcflags=all='-N -l'
|
BUILD_FLAGS += -gcflags=all='-N -l'
|
||||||
endif
|
else ifeq ($(pprof), 1)
|
||||||
|
|
||||||
ifeq ($(pprof), 1)
|
|
||||||
CGO_ENABLED = 1
|
CGO_ENABLED = 1
|
||||||
GORACE = log_path=logs/pprof strip_path_prefix=$(shell pwd)/ halt_on_error=1
|
GORACE = log_path=logs/pprof strip_path_prefix=$(shell pwd)/ halt_on_error=1
|
||||||
BUILD_FLAGS = -tags pprof
|
BUILD_FLAGS = -tags pprof
|
||||||
|
|||||||
Reference in New Issue
Block a user