diff options
author | Bernhard M. Wiedemann <bwiedemann@suse.de> | 2018-07-05 19:13:45 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2018-07-05 13:13:45 -0600 |
commit | d41cd173e23ebea7c758644d6ad6e0fde1c2e3a6 (patch) | |
tree | 70007638ae97ddd7d5c699351909f73ae704a1cd /ltmain.sh | |
parent | 339657d2d3faec98a122cff84adc9b3aaeff5aec (diff) | |
download | gcc-d41cd173e23ebea7c758644d6ad6e0fde1c2e3a6.tar.gz |
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
Diffstat (limited to 'ltmain.sh')
-rw-r--r-- | ltmain.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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" |