Module Name: src
Committed By: christos
Date: Sun Jan 15 21:27:38 UTC 2017
Modified Files:
src/external/gpl3/gcc/lib/libstdc++-v3: Makefile
Log Message:
elide psabi errors on i386
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/external/gpl3/gcc/lib/libstdc++-v3/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gcc/lib/libstdc++-v3/Makefile
diff -u src/external/gpl3/gcc/lib/libstdc++-v3/Makefile:1.25 src/external/gpl3/gcc/lib/libstdc++-v3/Makefile:1.26
--- src/external/gpl3/gcc/lib/libstdc++-v3/Makefile:1.25 Thu Jan 12 20:14:27 2017
+++ src/external/gpl3/gcc/lib/libstdc++-v3/Makefile Sun Jan 15 16:27:38 2017
@@ -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 @@ CPPFLAGS.compatibility-parallel_list.cc
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