libunwind: enable only the native unwinder by default

This significantly reduces stack space requirements, and runtimes
require only native unwinding.

MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2016-07-08 21:17:24 +00:00
parent 9d2111d16b
commit dcc88911a9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=302456

View File

@ -89,7 +89,7 @@ LIB2ADDEH = gcc_personality_v0.c \
UnwindRegistersSave.S \
libunwind.cpp
CFLAGS+= -I${UNWINDINCDIR} -I${.CURDIR}
CFLAGS+= -I${UNWINDINCDIR} -I${.CURDIR} -D_LIBUNWIND_IS_NATIVE_ONLY
.if empty(CXXFLAGS:M-std=*)
CXXFLAGS+= -std=c++11
.endif