From d35b2c72487dd07ca4e88a9c6bf4031a34e92dc1 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 14 Mar 2018 12:39:45 +0100 Subject: [PATCH] util/add-depends.pl: sort the dependency files Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/5617) --- util/add-depends.pl | 1 + 1 file changed, 1 insertion(+) 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?$/ } -- GitLab