From d41cd173e23ebea7c758644d6ad6e0fde1c2e3a6 Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" Date: Thu, 5 Jul 2018 19:13:45 +0000 Subject: libtool.m4: Sort output of 'find' to enable deterministic builds. * libtool.m4: Sort output of 'find' to enable deterministic builds. * ltmain.sh: Likewise. From-SVN: r262451 --- ltmain.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltmain.sh') diff --git a/ltmain.sh b/ltmain.sh index 9503ec85d70..79f9ba89af5 100644 --- a/ltmain.sh +++ b/ltmain.sh @@ -2917,7 +2917,7 @@ func_extract_archives () darwin_file= darwin_files= for darwin_file in $darwin_filelist; do - darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP` + darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP` $LIPO -create -output "$darwin_file" $darwin_files done # $darwin_filelist $RM -rf unfat-$$ @@ -2932,7 +2932,7 @@ func_extract_archives () func_extract_an_archive "$my_xdir" "$my_xabs" ;; esac - my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP` done func_extract_archives_result="$my_oldobjs" -- cgit v1.2.1