summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2020-10-30 18:47:42 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2020-10-30 18:47:42 +0200
commit4efcec354570a749b2461c61f2d9a436398f2553 (patch)
treea3681595d8bdbb8fb8e4e88ff64cc4e7139aef3f /platform
parent41f66761fd8e41760dbffce9b9a4a4d8ceb7af0b (diff)
[iOS] Add missing ARC flag to the simulator build.
Diffstat (limited to 'platform')
-rw-r--r--platform/iphone/detect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/iphone/detect.py b/platform/iphone/detect.py
index 5ebabdd3dc..ab453c353f 100644
--- a/platform/iphone/detect.py
+++ b/platform/iphone/detect.py
@@ -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"