File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1416,7 +1416,7 @@ function copy_embedded_compiler_rt_builtins_from_darwin_host_toolchain() {
14161416 if [[ ! -f " ${DEST_LIB_PATH} " ]]; then
14171417 if [[ -f " ${HOST_LIB_PATH} " ]]; then
14181418 if [[ " $OS " == " tvos" ]]; then
1419- call lipo -remove i386 " ${HOST_LIB_PATH} " -output " ${DEST_LIB_PATH} "
1419+ call lipo -remove i386 " ${HOST_LIB_PATH} " -output " ${DEST_LIB_PATH} " || call cp " ${HOST_LIB_PATH} " " ${DEST_LIB_PATH} "
14201420 else
14211421 call cp " ${HOST_LIB_PATH} " " ${DEST_LIB_PATH} "
14221422 fi
@@ -1432,7 +1432,7 @@ function copy_embedded_compiler_rt_builtins_from_darwin_host_toolchain() {
14321432 if [[ ! -f " ${DEST_SIM_LIB_PATH} " ]]; then
14331433 if [[ -f " ${HOST_SIM_LIB_PATH} " ]]; then
14341434 if [[ " $OS " == " tvos" ]]; then
1435- call lipo -remove i386 " ${HOST_SIM_LIB_PATH} " -output " ${DEST_SIM_LIB_PATH} "
1435+ call lipo -remove i386 " ${HOST_SIM_LIB_PATH} " -output " ${DEST_SIM_LIB_PATH} " || call cp " ${HOST_SIM_LIB_PATH} " " ${DEST_SIM_LIB_PATH} "
14361436 else
14371437 call cp " ${HOST_SIM_LIB_PATH} " " ${DEST_SIM_LIB_PATH} "
14381438 fi
You can’t perform that action at this time.
0 commit comments