From 81441e9ceae4ece7f44d590c063ebce9e6e4f783 Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Tue, 8 Nov 2022 15:28:11 +1100 Subject: [PATCH] Disable jemalloc on Windows --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d3c8337d24..52edc16bc8 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,12 @@ PINNED_NIGHTLY ?= nightly CLIPPY_PINNED_NIGHTLY=nightly-2022-05-19 # List of features to use when building natively. Can be overriden via the environment. -FEATURES ?= jemalloc +# No jemalloc on Windows +ifeq ($(OS),Windows_NT) + FEATURES?= +else + FEATURES?=jemalloc +endif # List of features to use when cross-compiling. Can be overridden via the environment. CROSS_FEATURES ?= gnosis,slasher-lmdb,slasher-mdbx,jemalloc