[Buildroot] [git commit branch/next] Revert "package/bitcoin: unset the NDEBUG flag"

From: Yann E. MORIN <hidden>
Date: 2021-08-03 23:22:37
Subsystem: the rest · Maintainer: Linus Torvalds

commit: https://git.buildroot.net/buildroot/commit/?id=1aa3cb1090676a8af91d664142c968f4b6a22a82
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next

Setting NDEBUG is no longer done by the infra.

This reverts commit f098aff4792a0e792bda4d7d1ec22a5af1381d83.

Signed-off-by: Yann E. MORIN <redacted>
---
 package/bitcoin/bitcoin.mk | 6 ------
 1 file changed, 6 deletions(-)
diff --git a/package/bitcoin/bitcoin.mk b/package/bitcoin/bitcoin.mk
index f485e4ee5c..142521835c 100644
--- a/package/bitcoin/bitcoin.mk
+++ b/package/bitcoin/bitcoin.mk
@@ -13,12 +13,6 @@ BITCOIN_CPE_ID_VENDOR = bitcoin
 BITCOIN_CPE_ID_PRODUCT = bitcoin_core
 BITCOIN_DEPENDENCIES = host-pkgconf boost libevent
 BITCOIN_MAKE_ENV = BITCOIN_GENBUILD_NO_GIT=1
-# Bitcoin is using assert(...) extensively with the assumption of it
-# never being a noop at runtime. So we cannot build with NDEBUG.
-BITCOIN_CONF_ENV = \
-	CPPFLAGS="$(TARGET_CPPFLAGS) -UNDEBUG" \
-	CFLAGS="$(TARGET_CFLAGS) -UNDEBUG" \
-	CXXFLAGS="$(TARGET_CXXFLAGS) -UNDEBUG"
 BITCOIN_CONF_OPTS = \
 	--disable-bench \
 	--disable-wallet \
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help