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/2cfd8b257774
branches:  trunk
changeset: 350666:2cfd8b257774
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 16ca396bf5b0 -r 2cfd8b257774 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