From 357322d7219e9c08f105583abcae33be87b0e89d Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Tue, 16 Apr 2019 22:27:24 +0200 Subject: [PATCH] make: Enable the elements flag in the lightningd build Without this we wouldn't see the elements specific fields and functions from lightningd. Signed-off-by: Christian Decker --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 91e8094ae..75bdabc13 100644 --- a/Makefile +++ b/Makefile @@ -189,7 +189,7 @@ BOLT_DEPS := $(BOLT_GEN) ALL_PROGRAMS = CPPFLAGS += -DBINTOPKGLIBEXECDIR="\"$(shell sh tools/rel.sh $(bindir) $(pkglibexecdir))\"" -CFLAGS = $(CPPFLAGS) $(CWARNFLAGS) $(CDEBUGFLAGS) $(COPTFLAGS) -I $(CCANDIR) $(EXTERNAL_INCLUDE_FLAGS) -I . -I/usr/local/include $(FEATURES) $(COVFLAGS) $(DEV_CFLAGS) -DSHACHAIN_BITS=48 -DJSMN_PARENT_LINKS $(PIE_CFLAGS) $(COMPAT_CFLAGS) +CFLAGS = $(CPPFLAGS) $(CWARNFLAGS) $(CDEBUGFLAGS) $(COPTFLAGS) -I $(CCANDIR) $(EXTERNAL_INCLUDE_FLAGS) -I . -I/usr/local/include $(FEATURES) $(COVFLAGS) $(DEV_CFLAGS) -DSHACHAIN_BITS=48 -DJSMN_PARENT_LINKS $(PIE_CFLAGS) $(COMPAT_CFLAGS) -DBUILD_ELEMENTS=1 # We can get configurator to run a different compile cmd to cross-configure. CONFIGURATOR_CC := $(CC)