From dcdbe39a42d1dfaf50cdaa7cb8769b2d45df25b0 Mon Sep 17 00:00:00 2001 From: Bryan Roe Date: Thu, 19 Sep 2019 16:36:28 -0700 Subject: [PATCH] Updated makefile, so deadlock detection is enabled by default --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 7656073..2f6ef87 100644 --- a/makefile +++ b/makefile @@ -126,7 +126,7 @@ LDFLAGS ?= -L. -lpthread -ldl -lutil -lm CEXTRA = -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -fstack-protector -fno-strict-aliasing LDEXTRA = - +WatchDog = 6000000 SKIPFLAGS = 0 ifeq ($(AID), 7) SKIPFLAGS = 1 @@ -328,7 +328,7 @@ ifeq ($(WEBRTCDEBUG),1) CFLAGS += -D_WEBRTCDEBUG endif -ifneq ($(WatchDog),) +ifneq ($(WatchDog),0) CWATCHDOG := -DILibChain_WATCHDOG_TIMEOUT=$(WatchDog) endif