File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -1457,11 +1457,7 @@ function copy_embedded_compiler_rt_builtins_from_darwin_host_toolchain() {
14571457 DEST_LIB_PATH=" ${DEST_BUILTINS_DIR} /${LIB_NAME} "
14581458 if [[ ! -f " ${DEST_LIB_PATH} " ]]; then
14591459 if [[ -f " ${HOST_LIB_PATH} " ]]; then
1460- if [[ " $OS " == " tvos" ]]; then
1461- call lipo -remove i386 " ${HOST_LIB_PATH} " -output " ${DEST_LIB_PATH} " || call cp " ${HOST_LIB_PATH} " " ${DEST_LIB_PATH} "
1462- else
1463- call cp " ${HOST_LIB_PATH} " " ${DEST_LIB_PATH} "
1464- fi
1460+ call cp " ${HOST_LIB_PATH} " " ${DEST_LIB_PATH} "
14651461 elif [[ " ${VERBOSE_BUILD} " ]]; then
14661462 echo " no file exists at ${HOST_LIB_PATH} "
14671463 fi
@@ -1473,11 +1469,7 @@ function copy_embedded_compiler_rt_builtins_from_darwin_host_toolchain() {
14731469 DEST_SIM_LIB_PATH=" ${DEST_BUILTINS_DIR} /${SIM_LIB_NAME} "
14741470 if [[ ! -f " ${DEST_SIM_LIB_PATH} " ]]; then
14751471 if [[ -f " ${HOST_SIM_LIB_PATH} " ]]; then
1476- if [[ " $OS " == " tvos" ]]; then
1477- call lipo -remove i386 " ${HOST_SIM_LIB_PATH} " -output " ${DEST_SIM_LIB_PATH} " || call cp " ${HOST_SIM_LIB_PATH} " " ${DEST_SIM_LIB_PATH} "
1478- else
1479- call cp " ${HOST_SIM_LIB_PATH} " " ${DEST_SIM_LIB_PATH} "
1480- fi
1472+ call cp " ${HOST_SIM_LIB_PATH} " " ${DEST_SIM_LIB_PATH} "
14811473 elif [[ -f " ${HOST_LIB_PATH} " ]]; then
14821474 # The simulator .a might not exist if the host
14831475 # Xcode is old. In that case, copy over the
You can’t perform that action at this time.
0 commit comments