Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/libc++/lib Prefer libcxxrt's typeinfo.cc. Do no...



details:   https://anonhg.NetBSD.org/src/rev/0ed0a4d89285
branches:  trunk
changeset: 786881:0ed0a4d89285
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri May 17 22:57:27 2013 +0000

description:
Prefer libcxxrt's typeinfo.cc. Do not use cxa_atexit.c, it is only for
Solaris. Do not use libcxxrt's memory.cc, the same content is already
provided by libc++ in new.cpp and that version agrees with the
overwriting rules for the operators from C++11.

diffstat:

 external/bsd/libc++/lib/Makefile |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 375dd4c388cf -r 0ed0a4d89285 external/bsd/libc++/lib/Makefile
--- a/external/bsd/libc++/lib/Makefile  Fri May 17 17:43:04 2013 +0000
+++ b/external/bsd/libc++/lib/Makefile  Fri May 17 22:57:27 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2013/04/30 00:34:15 joerg Exp $
+#      $NetBSD: Makefile,v 1.3 2013/05/17 22:57:27 joerg Exp $
 
 LIB=           c++
 WARNS=         4
@@ -11,12 +11,15 @@
 SRCS=  algorithm.cpp bind.cpp chrono.cpp condition_variable.cpp debug.cpp \
        exception.cpp future.cpp hash.cpp ios.cpp iostream.cpp locale.cpp \
        memory.cpp mutex.cpp new.cpp random.cpp regex.cpp stdexcept.cpp \
-       string.cpp strstream.cpp system_error.cpp thread.cpp typeinfo.cpp \
+       string.cpp strstream.cpp system_error.cpp thread.cpp \
        utility.cpp valarray.cpp
+# typeinfo.cc: prefer libcxxrt's version
 
 LIBCXXRT_SRCS+= \
-       auxhelper.cc dynamic_cast.cc exception.cc guard.cc memory.cc \
-       stdexcept.cc terminate.cc typeinfo.cc cxa_atexit.c libelftc_dem_gnu3.c
+       auxhelper.cc dynamic_cast.cc exception.cc guard.cc \
+       stdexcept.cc terminate.cc typeinfo.cc libelftc_dem_gnu3.c
+# cxa_atexit.c: Solaris-only
+# memory.cc: already provided by libc++'s new.cpp
 
 .for src in ${LIBCXXRT_SRCS}
 rt_${src}: ${LIBCXXRT_SRCDIR}/src/${src}



Home | Main Index | Thread Index | Old Index