Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jul 2016 21:17:24 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r302456 - head/gnu/lib/libgcc
Message-ID:  <201607082117.u68LHOmW069108@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607082117.u68LHOmW069108>