File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ GO_BUILD := go build -i
88GO_TEST := go test
99
1010ifeq ($(UNAME_S ) ,Linux)
11- GO_BUILD += -tags "cgo_jemalloc "
12- GO_TEST += -tags "cgo_jemalloc "
11+ GO_BUILD += -tags "use_jemalloc "
12+ GO_TEST += -tags "use_jemalloc "
1313build-deps : build-jemalloc
1414endif
1515
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ package rdb
1010// #cgo LDFLAGS: -lm
1111// #cgo linux LDFLAGS: -lrt
1212//
13- // #cgo cgo_jemalloc CFLAGS: -DUSE_JEMALLOC
14- // #cgo cgo_jemalloc CFLAGS: -I../../third_party/jemalloc/include/
15- // #cgo cgo_jemalloc LDFLAGS: -L../../third_party/jemalloc/lib/ -ljemalloc_pic
13+ // #cgo use_jemalloc CFLAGS: -DUSE_JEMALLOC
14+ // #cgo use_jemalloc CFLAGS: -I../../third_party/jemalloc/include/
15+ // #cgo use_jemalloc LDFLAGS: -L../../third_party/jemalloc/lib/ -ljemalloc_pic
1616//
1717// #include "cgo_redis.h"
1818//
You can’t perform that action at this time.
0 commit comments