diff options
author | Alan Modra <amodra@gmail.com> | 2009-06-04 06:57:56 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2009-06-04 06:57:56 +0000 |
commit | 67a648f17aaf9902891ec61c8025b98612dbbab4 (patch) | |
tree | 881d0c8205eb31c8a802629f459b397a9cabd4a2 /gprof/Makefile.am | |
parent | 26d1917c555cb057baa061fa476ec0e5c0965280 (diff) | |
download | gdb-67a648f17aaf9902891ec61c8025b98612dbbab4.zip gdb-67a648f17aaf9902891ec61c8025b98612dbbab4.tar.gz gdb-67a648f17aaf9902891ec61c8025b98612dbbab4.tar.bz2 |
* dep-in.sed: Don't use \n in replacement part of s command.
* Makefile.am (DEP1): LC_ALL for uniq.
* Makefile.in: Regenerate.
Diffstat (limited to 'gprof/Makefile.am')
-rw-r--r-- | gprof/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gprof/Makefile.am b/gprof/Makefile.am index a2a4217..12d794b 100644 --- a/gprof/Makefile.am +++ b/gprof/Makefile.am @@ -194,7 +194,8 @@ DEP1: $(gprof_SOURCES) for f in $?; do \ $(MKDEP) $(INCLUDES) $(CFLAGS) $$f > DEPA; \ sed -n -e '1s/: .*/: \\/p' -e q < DEPA >> DEP2; \ - sed -e '1s/.*: //' -f dep.sed < DEPA | LC_ALL=C sort | uniq | \ + sed -e '1s/.*: //' -f dep.sed < DEPA | \ + LC_ALL=C sort | LC_ALL=C uniq | \ sed -e 's/^[AB]/ /' -e '$$s/ \\$$//' >> DEP2; \ done rm -f DEPA |