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 /ld/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 'ld/Makefile.am')
-rw-r--r-- | ld/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/Makefile.am b/ld/Makefile.am index 7cf1b36..d9045de 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -2022,7 +2022,8 @@ DEP1: $(CFILES) $(GENERATED_CFILES) 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 |