Merge pull request #43348 from bruvzg/ios_sim_fix

[iOS] Add missing ARC flag to the simulator build.
This commit is contained in:
Rémi Verschelde 2020-11-06 10:14:30 +01:00 committed by GitHub
commit 1e5a782ce8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,7 +119,7 @@ def configure(env):
arch_flag = "i386" if env["arch"] == "x86" else env["arch"]
env.Append(
CCFLAGS=(
"-arch "
"-fobjc-arc -arch "
+ arch_flag
+ " -fobjc-abi-version=2 -fobjc-legacy-dispatch -fmessage-length=0 -fpascal-strings -fblocks"
" -fasm-blocks -isysroot $IPHONESDK -mios-simulator-version-min=13.0"