Source-Changes-HG archive

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

[src/trunk]: src/sys/lib/libunwind libstdc++ doesn't like me using <cstdint> ...



details:   https://anonhg.NetBSD.org/src/rev/4a6f821e7a21
branches:  trunk
changeset: 794355:4a6f821e7a21
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Mar 13 00:56:41 2014 +0000

description:
libstdc++ doesn't like me using <cstdint> without requesting C++11, so
just do so.

diffstat:

 sys/lib/libunwind/Makefile.inc |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r 41513368298b -r 4a6f821e7a21 sys/lib/libunwind/Makefile.inc
--- a/sys/lib/libunwind/Makefile.inc    Thu Mar 13 00:50:55 2014 +0000
+++ b/sys/lib/libunwind/Makefile.inc    Thu Mar 13 00:56:41 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.2 2013/12/20 12:46:42 joerg Exp $
+#      $NetBSD: Makefile.inc,v 1.3 2014/03/13 00:56:41 joerg Exp $
 
 .PATH: ${NETBSDSRCDIR}/sys/lib/libunwind
 
@@ -7,4 +7,5 @@
 
 INCS+= unwind.h
 
+COPTS.libunwind.cxx+=  ${${ACTIVE_CXX} == "gcc":? -std=c++0x : -std=c++11 :}
 COPTS.libunwind.cxx+=  -funwind-tables -fno-rtti -fno-exceptions -fvisibility=hidden -Wno-old-style-cast



Home | Main Index | Thread Index | Old Index