Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc/lib/libstdc++-v3 elide psabi errors on i386



details:   https://anonhg.NetBSD.org/src/rev/7a6cb296777d
branches:  trunk
changeset: 820917:7a6cb296777d
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 15 21:27:38 2017 +0000

description:
elide psabi errors on i386

diffstat:

 external/gpl3/gcc/lib/libstdc++-v3/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 2eae557c4951 -r 7a6cb296777d external/gpl3/gcc/lib/libstdc++-v3/Makefile
--- a/external/gpl3/gcc/lib/libstdc++-v3/Makefile       Sun Jan 15 21:19:28 2017 +0000
+++ b/external/gpl3/gcc/lib/libstdc++-v3/Makefile       Sun Jan 15 21:27:38 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.25 2017/01/13 01:14:27 christos Exp $
+#      $NetBSD: Makefile,v 1.26 2017/01/15 21:27:38 christos Exp $
 
 REQUIRETOOLS=  yes
 NOLINT=                # defined
@@ -79,6 +79,11 @@
 
 cp-demangle.d cp-demangle.o: cp-demangle.h
 
+.if ${MACHINE_ARCH} == "i386"
+COPTS.random.cc += -Wno-error=psabi
+COPTS.cow-string-inst.cc += -Wno-error=psabi
+.endif
+
 # XXX
 MKDEPFLAGS+=   -I$(GLIBCPP_INCLUDE_DIR)/backward
 



Home | Main Index | Thread Index | Old Index