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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to