mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +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:
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
|
||||
|
||||
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)
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user