diff options
author | fanquake <fanquake@gmail.com> | 2023-04-11 17:28:05 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2023-04-18 10:43:20 +0100 |
commit | bc4fd49d09dec3791b0acd4ada285b2287361d14 (patch) | |
tree | 53778fdc0dab1b44c6f324fd6d29294b855c9652 | |
parent | cf266b2270081f05a277ba683f00de90a741112f (diff) | |
download | bitcoin-bc4fd49d09dec3791b0acd4ada285b2287361d14.tar.xz |
depends: add _LIBCPP_ENABLE_ASSERTIONS to DEBUG mode
See
https://releases.llvm.org/16.0.0/projects/libcxx/docs/UsingLibcxx.html#assertions-mode
for more info.
-rw-r--r-- | depends/hosts/linux.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/depends/hosts/linux.mk b/depends/hosts/linux.mk index 1c7ee41c01..0e2496174e 100644 --- a/depends/hosts/linux.mk +++ b/depends/hosts/linux.mk @@ -17,7 +17,7 @@ linux_release_CXXFLAGS=$(linux_release_CFLAGS) linux_debug_CFLAGS=-O1 linux_debug_CXXFLAGS=$(linux_debug_CFLAGS) -linux_debug_CPPFLAGS=-D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC +linux_debug_CPPFLAGS=-D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -D_LIBCPP_ENABLE_ASSERTIONS=1 ifeq (86,$(findstring 86,$(build_arch))) i686_linux_CC=gcc -m32 |