From 6ad0d837d1511fe97bec338c6af19f6fb4a7d197 Mon Sep 17 00:00:00 2001 From: Alex Sharov Date: Sat, 24 Dec 2022 19:05:08 +0700 Subject: [PATCH] mdbx: disable feature which not ready yet (#6432) --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index e6a635cbd..d239ba076 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,7 @@ DOCKER_TAG ?= thorax/erigon:latest # Go to be available, but with docker it's not strictly necessary CGO_CFLAGS := $(shell $(GO) env CGO_CFLAGS 2>/dev/null) # don't lose default CGO_CFLAGS += -DMDBX_FORCE_ASSERTIONS=0 # Enable MDBX's asserts by default in 'devel' branch and disable in releases +CGO_CFLAGS += -DMDBX_DISABLE_VALIDATION=1 # This feature is not ready yet CGO_CFLAGS += -O CGO_CFLAGS += -D__BLST_PORTABLE__ CGO_CFLAGS += -Wno-error=strict-prototypes # for Clang15, remove it when can https://github.com/ledgerwatch/erigon/issues/6113#issuecomment-1359526277