summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-11-25 18:16:35 +0100
committerNicholas Clark <nick@ccl4.org>2011-12-04 17:47:00 +0100
commit5d4e58dcdb5d3b0a6dfc17071d845e7fc69ff071 (patch)
treed8f393a17bd968d5f2cf01c2e0afbe4d42930a29 /Makefile.SH
parentee8bc8b7e369e9f69b93c0b0a137db3c4886a1a3 (diff)
downloadperl-5d4e58dcdb5d3b0a6dfc17071d845e7fc69ff071.tar.gz
On AIX, avoid a shell pipepline by making makedef.pl sort case insenitively.
Previously the Makefile piped the output of makedef.pl to sort. This had the side effect of ignoring the exit code from makedef.pl, as make could only see the exit code of the last command in the pipeline. This concealed the causes of the parallel make failure when makedef.pl was missing a dependency on Config.pm
Diffstat (limited to 'Makefile.SH')
-rwxr-xr-xMakefile.SH2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.SH b/Makefile.SH
index 37acd12d06..7b050fae66 100755
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -724,7 +724,7 @@ PERLEXPORT = perl.exp
esac
$spitshell >>$Makefile <<'!NO!SUBS!'
perl.exp: $(MINIPERLEXP) makedef.pl $(CONFIGPM) $(SYM) $(SYMH)
- ./$(MINIPERLEXP) makedef.pl PLATFORM=aix CC_FLAGS="$(OPTIMIZE)" | sort -u | sort -f > perl.exp
+ ./$(MINIPERLEXP) makedef.pl --sort-fold PLATFORM=aix CC_FLAGS="$(OPTIMIZE)" > perl.exp
!NO!SUBS!
;;