svn commit: r302456 - head/gnu/lib/libgcc
Ed Maste
emaste at FreeBSD.org
Fri Jul 8 21:17:25 UTC 2016
Author: emaste
Date: Fri Jul 8 21:17:24 2016
New Revision: 302456
URL: https://svnweb.freebsd.org/changeset/base/302456
Log:
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
Modified:
head/gnu/lib/libgcc/Makefile
Modified: head/gnu/lib/libgcc/Makefile
==============================================================================
--- head/gnu/lib/libgcc/Makefile Fri Jul 8 20:50:44 2016 (r302455)
+++ head/gnu/lib/libgcc/Makefile Fri Jul 8 21:17:24 2016 (r302456)
@@ -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
More information about the svn-src-head
mailing list