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 Since GCC 4.5 doesn't support noexce...



details:   https://anonhg.NetBSD.org/src/rev/cae98a173a86
branches:  trunk
changeset: 331703:cae98a173a86
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Aug 20 15:19:39 2014 +0000

description:
Since GCC 4.5 doesn't support noexcept, don't pretend to support it by
using -std=c++0x. Just use the correct value for x.

diffstat:

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

diffs (18 lines):

diff -r f6b535b22e66 -r cae98a173a86 external/bsd/libc++/lib/Makefile
--- a/external/bsd/libc++/lib/Makefile  Wed Aug 20 13:48:08 2014 +0000
+++ b/external/bsd/libc++/lib/Makefile  Wed Aug 20 15:19:39 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2014/07/05 20:45:49 joerg Exp $
+#      $NetBSD: Makefile,v 1.7 2014/08/20 15:19:39 joerg Exp $
 
 LIB=           c++
 WARNS=         4
@@ -35,7 +35,7 @@
 
 CPPFLAGS+=     -nostdinc++ -cxx-isystem ${LIBCXX_SRCDIR}/include -I${LIBCXXRT_SRCDIR}/src
 CPPFLAGS+=     -DLIBCXXRT
-CXXFLAGS+=     ${${ACTIVE_CC} == "clang":? -std=c++11 : -std=c++0x}
+CXXFLAGS+=     -std=c++11
 
 CWARNFLAGS.gcc+=       -Wno-error
 



Home | Main Index | Thread Index | Old Index