aboutsummaryrefslogtreecommitdiff
path: root/libiberty/maint-tool
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2010-09-09 17:39:52 +0000
committerDJ Delorie <dj@redhat.com>2010-09-09 17:39:52 +0000
commit497462ef9eba5c85d2d405a33ff20940f5b0d74e (patch)
tree48ad1d4aaf94b4f6dbcfa56a46a4443d8e8ba3ce /libiberty/maint-tool
parent05a79166c63631b80c640d4bf3e28cc594682363 (diff)
downloadgdb-497462ef9eba5c85d2d405a33ff20940f5b0d74e.zip
gdb-497462ef9eba5c85d2d405a33ff20940f5b0d74e.tar.gz
gdb-497462ef9eba5c85d2d405a33ff20940f5b0d74e.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/maint-tool')
-rw-r--r--libiberty/maint-tool4
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/maint-tool b/libiberty/maint-tool
index e6e8707..2c68794 100644
--- a/libiberty/maint-tool
+++ b/libiberty/maint-tool
@@ -76,7 +76,7 @@ sub missing {
for $f (sort keys %listed) {
if ($f =~ /(.*)\.c$/) {
$base = $1;
- if (! $listed{"$base.o"}) {
+ if (! $listed{"./$base.o"}) {
print "O $f\n";
}
}
@@ -264,7 +264,7 @@ sub deps {
}
@deps = sort { &locals_first($a,$b) } keys %scanned;
$obj = $f;
- $obj =~ s/\.c$/.o/;
+ $obj =~ s/\.c$/.\$(objext)/;
$obj = "./$obj:";
if ($#deps >= 0) {
print OUT "$obj \$(srcdir)/$f";