Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gdb For VAX & GCC, turn on -Wno-overflow to su...



details:   https://anonhg.NetBSD.org/src/rev/06132cbb9ef6
branches:  trunk
changeset: 773549:06132cbb9ef6
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Feb 05 17:47:30 2012 +0000

description:
For VAX & GCC, turn on -Wno-overflow to supress a GCC error.

diffstat:

 external/gpl3/gdb/Makefile.inc |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 0df422511838 -r 06132cbb9ef6 external/gpl3/gdb/Makefile.inc
--- a/external/gpl3/gdb/Makefile.inc    Sun Feb 05 17:45:38 2012 +0000
+++ b/external/gpl3/gdb/Makefile.inc    Sun Feb 05 17:47:30 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.3 2011/10/11 15:18:09 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.4 2012/02/05 17:47:30 matt Exp $
 
 USE_LIBEDIT=no
 USE_TUI=yes
@@ -10,4 +10,8 @@
                        -Wno-format-security \
                        -Wno-tautological-compare -Wno-format-extra-args
 
+.if ${MACHINE} == "vax"
+CWARNFLAGS.gcc+=       -Wno-overflow
+.endif
+
 DIST=          ${NETBSDSRCDIR}/external/gpl3/gdb/dist



Home | Main Index | Thread Index | Old Index