mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-03 05:04:21 +01:00
make: Disable DEVELOPER by default
We had quite a few users running into issues because the `--dev-xyz` options and `dev-xyz` RPC calls were available. Before a release we should make sure that the default compilation flags are safe. Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
2
Makefile
2
Makefile
@@ -18,7 +18,7 @@ VALGRIND_TEST_ARGS = --track-origins=yes --leak-check=full --show-reachable=yes
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# By default, we are in DEVELOPER mode, use DEVELOPER= on cmdline to override.
|
# By default, we are in DEVELOPER mode, use DEVELOPER= on cmdline to override.
|
||||||
DEVELOPER := 1
|
DEVELOPER := 0
|
||||||
|
|
||||||
ifeq ($(DEVELOPER),1)
|
ifeq ($(DEVELOPER),1)
|
||||||
DEV_CFLAGS=-DDEVELOPER=1 -DCCAN_TAL_DEBUG=1 -DCCAN_TAKE_DEBUG=1
|
DEV_CFLAGS=-DDEVELOPER=1 -DCCAN_TAL_DEBUG=1 -DCCAN_TAKE_DEBUG=1
|
||||||
|
|||||||
Reference in New Issue
Block a user