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.
pull/27447/head
fanquake 2 years ago
parent cf266b2270
commit bc4fd49d09
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

@ -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

Loading…
Cancel
Save