summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-01-02 03:03:57 +0000
committerEli Schwartz <eschwartz93@gmail.com>2024-01-09 20:49:27 -0500
commita5fdd3771f8ec510167d44ef43cda1285ee05610 (patch)
tree2ec0b526ba5b0d90126a1e7d5f30d1a1be5e79ce /man
parentce2db13e94fdeaff72d9e1f23b40072f9fb8818b (diff)
downloadmeson-a5fdd3771f8ec510167d44ef43cda1285ee05610.tar.gz
compilers: cpp: wire up debugstl for Clang
For Clang, we now pass -D_GLIBCXX_DEBUG=1 if debugstl is enabled, and we also pass -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG. Per https://discourse.llvm.org/t/building-a-program-with-d-libcpp-debug-1-against-a-libc-that-is-not-itself-built-with-that-define/59176/3, we can't use _LIBCPP_DEBUG for older Clang versions as it's unreliable unless libc++ was built with it. We choose MODE_DEBUG for stldebug while building with assertions will do MODE_EXTENSIVE. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions