diff options
author | 2019-03-14 08:45:36 +0000 | |
---|---|---|
committer | 2019-03-14 08:45:36 +0000 | |
commit | 6729dadd7c6946ef18bbd3bb7951d171b4df57cf (patch) | |
tree | a891b174e4b2eba9c54994260962376d2edc89c3 | |
parent | libcxx (diff) | |
download | wireguard-openbsd-6729dadd7c6946ef18bbd3bb7951d171b4df57cf.tar.xz wireguard-openbsd-6729dadd7c6946ef18bbd3bb7951d171b4df57cf.zip |
build with NDEBUG defined to disable debug/tracking code
ok patrick@
-rw-r--r-- | lib/libcxx/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libcxx/Makefile b/lib/libcxx/Makefile index 59796532b13..d17988b5083 100644 --- a/lib/libcxx/Makefile +++ b/lib/libcxx/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.11 2019/02/04 17:04:33 patrick Exp $ +# $OpenBSD: Makefile,v 1.12 2019/03/14 08:45:36 robert Exp $ .include <bsd.own.mk> @@ -53,7 +53,8 @@ SRCS+= algorithm.cpp \ vector.cpp CPPFLAGS+= -Wall -DLIBCXXABI -I${HDRDIR} -D_LIBCPP_BUILDING_LIBRARY \ - -DLIBCXX_BUILDING_LIBCXXABI -I${AHDRDIR} -I${UHDRDIR} + -DLIBCXX_BUILDING_LIBCXXABI -I${AHDRDIR} -I${UHDRDIR} \ + -DNDEBUG CXXFLAGS+= -nostdlib -nostdinc++ .if empty(CXXFLAGS:M-std=*) CXXFLAGS+= -std=c++11 |