summaryrefslogtreecommitdiffstats
path: root/lib/libcxx/src
diff options
context:
space:
mode:
authorrobert <robert@openbsd.org>2018-09-11 18:31:58 +0000
committerrobert <robert@openbsd.org>2018-09-11 18:31:58 +0000
commit13317850d06b6ac5a2d670b8d0791ea05a1a42b0 (patch)
treed8188483f1eea44ebb9bfe74950d1487441873da /lib/libcxx/src
parentmerge libc++ 6.0.0 (bump lib major); ok patrick@, kettenis@ (diff)
downloadwireguard-openbsd-13317850d06b6ac5a2d670b8d0791ea05a1a42b0.tar.xz
wireguard-openbsd-13317850d06b6ac5a2d670b8d0791ea05a1a42b0.zip
instead of defining _LIBCPP_DEBUG in debug.cpp which enables some debug
code which breaks quiet a few things, define _LIBCPP_BUILDING_LIBRARY for the complete build to get the needed definitions in debug.cpp without enabling debug code
Diffstat (limited to 'lib/libcxx/src')
-rw-r--r--lib/libcxx/src/debug.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libcxx/src/debug.cpp b/lib/libcxx/src/debug.cpp
index c0739275d96..f2fc1ceb495 100644
--- a/lib/libcxx/src/debug.cpp
+++ b/lib/libcxx/src/debug.cpp
@@ -7,7 +7,6 @@
//
//===----------------------------------------------------------------------===//
-#define _LIBCPP_DEBUG 1
#include "__config"
#include "__debug"
#include "functional"