From d473dd482b012215ba003ecbced7751d89572ea0 Mon Sep 17 00:00:00 2001 From: Denis Ryabov Date: Mon, 10 Nov 2014 23:36:38 +0300 Subject: [PATCH] Remove NDEBUG option Bitcoin code is crashed (SEGFAULT) being compiled with `-DNDEBUG` option (see https://github.com/bitcoin/bitcoin/blob/master/src/main.cpp#L32) --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 83cd12b5..ab951b4f 100644 --- a/configure.ac +++ b/configure.ac @@ -442,7 +442,7 @@ AS_CASE(["$ARG_ENABLE_DEBUG"], ], ["no"], [ AC_MSG_RESULT([no]) - AC_DEFINE([NDEBUG],[1],[Define to disable debug code.]) + #AC_DEFINE([NDEBUG],[1],[Define to disable debug code.]) #COMPILETIME_OPTIONS="$COMPILETIME_OPTIONS -DNDEBUG " DEBUGFLAGS="-Os" ],