Makefile: we don't need to define DEVELOPER explicitly.

config.h does this.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2018-06-14 11:44:12 +09:30 committed by Christian Decker
parent e5809cf268
commit 0fff5038ff
2 changed files with 3 additions and 2 deletions

View File

@ -17,9 +17,9 @@ VG_TEST_ARGS = --track-origins=yes --leak-check=full --show-reachable=yes --erro
endif
ifeq ($(DEVELOPER),1)
DEV_CFLAGS=-DDEVELOPER=1 -DCCAN_TAL_DEBUG=1 -DCCAN_TAKE_DEBUG=1
DEV_CFLAGS=-DCCAN_TAL_DEBUG=1 -DCCAN_TAKE_DEBUG=1
else
DEV_CFLAGS=-DDEVELOPER=0
DEV_CFLAGS=
endif
ifeq ($(COVERAGE),1)

View File

@ -1,4 +1,5 @@
/* Only possible if we're in developer mode. */
#include "config.h"
#if DEVELOPER
#include <backtrace.h>
#include <ccan/tal/str/str.h>