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() {
1416
1416
if [[ ! -f " ${DEST_LIB_PATH} " ]]; then
1417
1417
if [[ -f " ${HOST_LIB_PATH} " ]]; then
1418
1418
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} "
1420
1420
else
1421
1421
call cp " ${HOST_LIB_PATH} " " ${DEST_LIB_PATH} "
1422
1422
fi
@@ -1432,7 +1432,7 @@ function copy_embedded_compiler_rt_builtins_from_darwin_host_toolchain() {
1432
1432
if [[ ! -f " ${DEST_SIM_LIB_PATH} " ]]; then
1433
1433
if [[ -f " ${HOST_SIM_LIB_PATH} " ]]; then
1434
1434
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} "
1436
1436
else
1437
1437
call cp " ${HOST_SIM_LIB_PATH} " " ${DEST_SIM_LIB_PATH} "
1438
1438
fi
You can’t perform that action at this time.
0 commit comments