summaryrefslogtreecommitdiff
path: root/distrib/sets/makeobsolete
diff options
context:
space:
mode:
authormatt <matt@NetBSD.org>2003-12-09 17:57:42 +0000
committermatt <matt@NetBSD.org>2003-12-09 17:57:42 +0000
commitad4eec9581fb1126aac9052d87c0edf41ea50f30 (patch)
treefe94e7fa4f935f558974aa4fcf178a10373c72ca /distrib/sets/makeobsolete
parent10f0bf745b5da5533974e90c499302ef537c6641 (diff)
Export use_tools_toolchain. Change last use of have_gcc3 to
use_tools_toolchain
Diffstat (limited to 'distrib/sets/makeobsolete')
-rwxr-xr-xdistrib/sets/makeobsolete5
1 files changed, 3 insertions, 2 deletions
diff --git a/distrib/sets/makeobsolete b/distrib/sets/makeobsolete
index 5cae9893af7..808494fbf19 100755
--- a/distrib/sets/makeobsolete
+++ b/distrib/sets/makeobsolete
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: makeobsolete,v 1.19 2003/11/25 07:19:46 dyoung Exp $
+# $NetBSD: makeobsolete,v 1.20 2003/12/09 17:57:42 matt Exp $
#
# Print out the obsolete files for a set
# Usage: makeobsolete [-b] [-x] [-a arch] [-m machine] [-s setsdir] \
@@ -96,7 +96,8 @@ for setname in $lists; do
if [ -f $setd/lists/$setname/obsolete.${machine} ]; then
awk -- '{print $1}' $setd/lists/$setname/obsolete.${machine}
fi
- if [ "$have_gcc3" = yes -a -f $setd/lists/$setname/obsolete.gcc ]; then
+ if [ "$use_tools_toolchain" != yes -a \
+ -f $setd/lists/$setname/obsolete.gcc ]; then
awk -- '{print $1}' $setd/lists/$setname/obsolete.gcc
fi
) | egrep -v '^#' | sort -ru > $file