summaryrefslogtreecommitdiff
path: root/lib/libcxxabi/Makefile
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2016-09-19 22:37:24 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2016-09-19 22:37:24 +0000
commit85f93700fbdaf3010628cc0db02a09079e84e030 (patch)
tree6a53654030d0aa3faf4ba0da648a80e37793c1ca /lib/libcxxabi/Makefile
parent6cdc977a03ecf6c5a8fff2c296b91025104b630c (diff)
We don't need cross-unwinding support,
ok patrick@, tom@
Diffstat (limited to 'lib/libcxxabi/Makefile')
-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