> 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. Index: Makefile =================================================================== RCS file: /cvs/src/lib/libcxx/Makefile,v retrieving revision 1.2 diff -u -p -r1.2 Makefile --- Makefile 19 Sep 2016 11:22:39 -0000 1.2 +++ Makefile 19 Sep 2016 12:04:52 -0000 @@ -40,7 +40,8 @@ SRCS+= algorithm.cpp\ valarray.cpp CPPFLAGS+= -DLIBCXXABI -I${HDRDIR} \ - -DLIBCXX_BUILDING_LIBCXXABI -I${AHDRDIR} -I${UHDRDIR} + -DLIBCXX_BUILDING_LIBCXXABI -I${AHDRDIR} -I${UHDRDIR} \ + -D_LIBUNWIND_IS_NATIVE_ONLY CXXFLAGS+= -nostdlib -nostdinc++ .if empty(CXXFLAGS:M-std=*) CXXFLAGS+= -std=c++11