summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2016-09-19 22:37:23 +0000
committerkettenis <kettenis@openbsd.org>2016-09-19 22:37:23 +0000
commitc75a24ef21e6d2e9aa420daefc1283b8a4729c8e (patch)
tree255d10ede019a3d4b1b0a5be01d0be9ccd283b3d
parentMake this build again. (diff)
downloadwireguard-openbsd-c75a24ef21e6d2e9aa420daefc1283b8a4729c8e.tar.xz
wireguard-openbsd-c75a24ef21e6d2e9aa420daefc1283b8a4729c8e.zip
We don't need cross-unwinding support,
ok patrick@, tom@
-rw-r--r--lib/libcxxabi/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libcxxabi/Makefile b/lib/libcxxabi/Makefile
index a64737ec00e..1e9a7ccc9e0 100644
--- a/lib/libcxxabi/Makefile
+++ b/lib/libcxxabi/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2016/09/19 11:23:16 kettenis Exp $
+# $OpenBSD: Makefile,v 1.3 2016/09/19 22:37:23 kettenis Exp $
HDRDIR= ${.CURDIR}/include
SRCDIR= ${.CURDIR}/src
@@ -39,6 +39,7 @@ SRCS+= abort_message.cpp\
libunwind.cpp
CPPFLAGS+= -I${SHDRDIR} -I${HDRDIR} -I${UHDRDIR}
+CPPFLAGS+= -D_LIBUNWIND_IS_NATIVE_ONLY
CXXFLAGS+= -nostdlib -nostdinc++ -funwind-tables
.if empty(CXXFLAGS:M-std=*)
CXXFLAGS+= -std=c++11