Source-Changes-HG archive

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

[src/trunk]: src/external/lgpl3/gmp/lib/libgmp Make warnings non-fatal on spa...



details:   https://anonhg.NetBSD.org/src/rev/24cf3500dae7
branches:  trunk
changeset: 791733:24cf3500dae7
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Nov 29 14:51:36 2013 +0000

description:
Make warnings non-fatal on sparc64.
Warings reported upstream.

diffstat:

 external/lgpl3/gmp/lib/libgmp/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 215a13c4ff0f -r 24cf3500dae7 external/lgpl3/gmp/lib/libgmp/Makefile
--- a/external/lgpl3/gmp/lib/libgmp/Makefile    Fri Nov 29 13:48:15 2013 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/Makefile    Fri Nov 29 14:51:36 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.18 2013/11/29 08:03:41 mrg Exp $
+#      $NetBSD: Makefile,v 1.19 2013/11/29 14:51:36 martin Exp $
 
 .include <bsd.init.mk>
 
@@ -240,5 +240,8 @@
 .if !empty(GMP_MACHINE_ARCH:M*arm*)
 COPTS += -marm
 .endif
+.if ${GMP_MACHINE_ARCH} == "sparc64"
+NOGCCERROR=yes
+.endif
 
 CWARNFLAGS.clang+=     -Wno-unused-value -Wno-tautological-compare



Home | Main Index | Thread Index | Old Index