diff --git a/images/rook/Makefile b/images/rook/Makefile index f66581afd..29c73ee79 100755 --- a/images/rook/Makefile +++ b/images/rook/Makefile @@ -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