ceph: use libc allocator on non intel platforms

This commit is contained in:
Bassam Tabbara
2017-07-15 11:43:07 -07:00
parent 182099d435
commit 843b28c8eb
+5
View File
@@ -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