From: Richard Levitte Date: Wed, 14 Mar 2018 11:39:45 +0000 (+0100) Subject: util/add-depends.pl: sort the dependency files X-Git-Tag: OpenSSL_1_1_1-pre3~93 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d35b2c72487dd07ca4e88a9c6bf4031a34e92dc1;p=oweals%2Fopenssl.git util/add-depends.pl: sort the dependency files Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/5617) --- diff --git a/util/add-depends.pl b/util/add-depends.pl index 573986d686..d2bba5e192 100644 --- a/util/add-depends.pl +++ b/util/add-depends.pl @@ -15,6 +15,7 @@ my $buildfile = $config{build_file}; my $buildfile_new = "$buildfile-$$"; my $depext = $target{dep_extension} || ".d"; my @deps = + sort grep { -f $_ } map { (my $x = $_) =~ s|\.o$|$depext|; $x; } grep { $unified_info{sources}->{$_}->[0] =~ /\.cc?$/ }