File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ unset IOS_CFLAGS
9191unset IOS_CXXFLAGS
9292unset IOS_LDFLAGS
9393unset IOS_SYSROOT
94+ unset CRC
9495
9596# ########################################
9697# #### Small Fixups, if needed #####
133134
134135if [[ " ${IOS_CPU} " == " aarch64" || " ${IOS_CPU} " == " arm64" * || " ${IOS_CPU} " == " armv8" * ]] ; then
135136 IOS_CPU=arm64
137+ CRC=" -mcrc"
136138fi
137139
138140echo " Configuring for ${IOS_SDK} (${IOS_CPU} )"
@@ -282,7 +284,7 @@ if [ -z "${XCODE_SDK}" ]; then
282284fi
283285
284286IOS_CFLAGS=" -arch ${IOS_CPU} ${MIN_VER} -fno-common"
285- IOS_CXXFLAGS=" -arch ${IOS_CPU} ${MIN_VER} -stdlib=libc++ -fno-common"
287+ IOS_CXXFLAGS=" -arch ${IOS_CPU} ${CRC} ${ MIN_VER} -stdlib=libc++ -fno-common"
286288IOS_SYSROOT=" ${XCODE_DEVELOPER_SDK} /${XCODE_SDK} "
287289
288290if [ ! -d " ${IOS_SYSROOT} " ]; then
You can’t perform that action at this time.
0 commit comments