> Date: Mon, 19 Sep 2016 16:08:33 +0200 (CEST)
> From: Mark Kettenis <mark.kette...@xs4all.nl>
> 
> > Date: Mon, 19 Sep 2016 14:08:49 +0200 (CEST)
> > From: Mark Kettenis <mark.kette...@xs4all.nl>
> > 
> > Saves a bit code and a bit of stack space, which might be important
> > important in some unwinding scenarios.
> > 
> > ok?
> 
> Transplanted the diff into the wrong file.  Here is the correct one.

Ugh, not my day.

Index: lib/libcxxabi/Makefile
===================================================================
RCS file: /cvs/src/lib/libcxxabi/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- lib/libcxxabi/Makefile      19 Sep 2016 11:23:16 -0000      1.2
+++ lib/libcxxabi/Makefile      19 Sep 2016 14:07:28 -0000
@@ -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

Reply via email to