diff options
author | Tristan Gingold <gingold@adacore.com> | 2010-09-08 07:27:11 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@gcc.gnu.org> | 2010-09-08 07:27:11 +0000 |
commit | 16f60fcbe4a61d31199ab4a0154b9fc83e61bcfe (patch) | |
tree | 12fc08c77d625f0ad48577efc3c22f822d6f34db /libiberty/maint-tool | |
parent | 7370e0da63c435435889f8d752836a436ef476bf (diff) | |
download | gcc-16f60fcbe4a61d31199ab4a0154b9fc83e61bcfe.zip gcc-16f60fcbe4a61d31199ab4a0154b9fc83e61bcfe.tar.gz gcc-16f60fcbe4a61d31199ab4a0154b9fc83e61bcfe.tar.bz2 |
re PR bootstrap/44001 (.o vs. obj => @OBJEXT@ and $ac_objext)
2010-09-08 Tristan Gingold <gingold@adacore.com>
PR 44001
* maint-tool (missing): Fix pattern for object file.
(deps): Use $(objext) for object extension.
* Makefile.in (objext): New variable.
Replace all occurences of .o with .$(objext)
Regenerate with maint-deps
* configure.ac (pexecute): Set to the basename.
* configure: Regenerate.
From-SVN: r163989
Diffstat (limited to 'libiberty/maint-tool')
-rw-r--r-- | libiberty/maint-tool | 4 |
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"; |