Source-Changes-HG archive

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

[src/trunk]: src/distrib/sets HAVE_GDB can trigger a false positive if MKGDB=...



details:   https://anonhg.NetBSD.org/src/rev/1b2935ee9388
branches:  trunk
changeset: 326387:1b2935ee9388
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Jan 28 02:54:02 2014 +0000

description:
HAVE_GDB can trigger a false positive if MKGDB=no so add a check for it
like we do for HAVE_GCC.

diffstat:

 distrib/sets/sets.subr |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 78ced8fec49b -r 1b2935ee9388 distrib/sets/sets.subr
--- a/distrib/sets/sets.subr    Tue Jan 28 02:51:34 2014 +0000
+++ b/distrib/sets/sets.subr    Tue Jan 28 02:54:02 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: sets.subr,v 1.158 2014/01/26 21:33:53 joerg Exp $
+#      $NetBSD: sets.subr,v 1.159 2014/01/28 02:54:02 matt Exp $
 #
 
 #
@@ -179,7 +179,7 @@
 # In each file, a record consists of a path and a System Package name,
 # separated by whitespace. E.g.,
 #
-#      # $NetBSD: sets.subr,v 1.158 2014/01/26 21:33:53 joerg Exp $
+#      # $NetBSD: sets.subr,v 1.159 2014/01/28 02:54:02 matt Exp $
 #      .                       base-sys-root   [keyword[,...]]
 #      ./altroot               base-sys-root
 #      ./bin                   base-sys-root
@@ -300,7 +300,7 @@
                                sub(/^mk/, "", kw)
                                sub(/^have_/, "", kw)
                                sub(/^target_endianness/, "endian", kw)
-                               if (nv != "HAVE_GCC" && ENVIRON[nv] != "no")
+                               if (nv != "HAVE_GCC" && nv != "HAVE_GDB" && ENVIRON[nv] != "no")
                                        wanted[kw] = 1 
                        }
 



Home | Main Index | Thread Index | Old Index