ceph: use libc allocator on non intel platforms
This commit is contained in:
1 parent
182099d435
commit
843b28c8eb
1 file changed
+5
@@ -30,7 +30,12 @@ TEMP := $(shell mktemp -d)
|
||||
# Build Ceph
|
||||
|
||||
CEPH_BUILD_TYPE ?= release
|
||||
|
||||
ifeq ($(GOARCH),amd64)
|
||||
CEPH_ALLOCATOR ?= tcmalloc
|
||||
else
|
||||
CEPH_ALLOCATOR ?= libc
|
||||
endif
|
||||
|
||||
ifeq ($(CEPH_ALLOCATOR),tcmalloc)
|
||||
EXTRA_LIBS += libgoogle-perftools4
|
||||
|
||||
Reference in new issue
Block a user