comparison ltmain.sh @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
2915 ## Okay now we've a bunch of thin objects, gotta fatten them up :) 2915 ## Okay now we've a bunch of thin objects, gotta fatten them up :)
2916 darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u` 2916 darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u`
2917 darwin_file= 2917 darwin_file=
2918 darwin_files= 2918 darwin_files=
2919 for darwin_file in $darwin_filelist; do 2919 for darwin_file in $darwin_filelist; do
2920 darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP` 2920 darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP`
2921 $LIPO -create -output "$darwin_file" $darwin_files 2921 $LIPO -create -output "$darwin_file" $darwin_files
2922 done # $darwin_filelist 2922 done # $darwin_filelist
2923 $RM -rf unfat-$$ 2923 $RM -rf unfat-$$
2924 cd "$darwin_orig_dir" 2924 cd "$darwin_orig_dir"
2925 else 2925 else
2930 ;; 2930 ;;
2931 *) 2931 *)
2932 func_extract_an_archive "$my_xdir" "$my_xabs" 2932 func_extract_an_archive "$my_xdir" "$my_xabs"
2933 ;; 2933 ;;
2934 esac 2934 esac
2935 my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` 2935 my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP`
2936 done 2936 done
2937 2937
2938 func_extract_archives_result="$my_oldobjs" 2938 func_extract_archives_result="$my_oldobjs"
2939 } 2939 }
2940 2940