From 49cc53508d5f2182596fd739c42caf751eb0bc6a Mon Sep 17 00:00:00 2001 From: John Sully Date: Sun, 14 Mar 2021 03:18:24 +0000 Subject: [PATCH] Add checked build support to makefile Former-commit-id: 7e27c371679d780137a5d39b03b9472651ddf686 --- src/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 3f2ad9dd6..d76255fd4 100644 --- a/src/Makefile +++ b/src/Makefile @@ -55,7 +55,9 @@ ifneq ($(strip $(SANITIZE)),) USEASM=false endif - +ifeq ($(CHECKED),true) + CXXFLAGS+= -DCHECKED_BUILD +endif # Do we use our assembly spinlock? X64 only ifeq ($(uname_S),Linux)