Module Name: src
Committed By: matt
Date: Tue Jan 28 02:54:02 UTC 2014
Modified Files:
src/distrib/sets: sets.subr
Log Message:
HAVE_GDB can trigger a false positive if MKGDB=no so add a check for it
like we do for HAVE_GCC.
To generate a diff of this commit:
cvs rdiff -u -r1.158 -r1.159 src/distrib/sets/sets.subr
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/sets/sets.subr
diff -u src/distrib/sets/sets.subr:1.158 src/distrib/sets/sets.subr:1.159
--- src/distrib/sets/sets.subr:1.158 Sun Jan 26 21:33:53 2014
+++ src/distrib/sets/sets.subr Tue Jan 28 02:54:02 2014
@@ -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 @@ SUBST="${SUBST};s#@MACHINE@#${MACHINE}#g
# 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 @@ list_set_files()
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
}