Browse Source

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

config.h does this.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 7 years ago
committed by Christian Decker
parent
commit
0fff5038ff
  1. 4
      Makefile
  2. 1
      lightningd/memdump.c

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
lightningd/memdump.c

@ -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…
Cancel
Save