mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 08:04:26 +01:00
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:
committed by
Christian Decker
parent
e5809cf268
commit
0fff5038ff
4
Makefile
4
Makefile
@@ -17,9 +17,9 @@ VG_TEST_ARGS = --track-origins=yes --leak-check=full --show-reachable=yes --erro
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(DEVELOPER),1)
|
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
|
else
|
||||||
DEV_CFLAGS=-DDEVELOPER=0
|
DEV_CFLAGS=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(COVERAGE),1)
|
ifeq ($(COVERAGE),1)
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
/* Only possible if we're in developer mode. */
|
/* Only possible if we're in developer mode. */
|
||||||
|
#include "config.h"
|
||||||
#if DEVELOPER
|
#if DEVELOPER
|
||||||
#include <backtrace.h>
|
#include <backtrace.h>
|
||||||
#include <ccan/tal/str/str.h>
|
#include <ccan/tal/str/str.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user