summaryrefslogtreecommitdiffstats
path: root/platform/iphone/detect.py
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-12-27 13:42:15 +0100
committerRémi Verschelde <rverschelde@gmail.com>2018-12-27 14:11:13 +0100
commit95e96947f6c4e96d15b269db7a27a4a772d86b09 (patch)
tree6aaf4c064e5302eeb156116ac5fbe42b7005534f /platform/iphone/detect.py
parente3e36c963f938abbaaa1c76b47df5f46ccaf073c (diff)
downloadredot-engine-95e96947f6c4e96d15b269db7a27a4a772d86b09.tar.gz
SCons: Drop ios_sim option forcing x86, simulator needs x86_64
Diffstat (limited to 'platform/iphone/detect.py')
-rw-r--r--platform/iphone/detect.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/platform/iphone/detect.py b/platform/iphone/detect.py
index 4608770c09..ee0e36b926 100644
--- a/platform/iphone/detect.py
+++ b/platform/iphone/detect.py
@@ -29,7 +29,6 @@ def get_opts():
BoolVariable('icloud', 'Support for iCloud', True),
BoolVariable('ios_exceptions', 'Enable exceptions', False),
('ios_triple', 'Triple for ios toolchain', ''),
- BoolVariable('ios_sim', 'Build simulator binary', False),
]
@@ -64,10 +63,7 @@ def configure(env):
env.Append(LINKFLAGS=['-flto'])
## Architecture
- if env["ios_sim"] and not ("arch" in env):
- env["arch"] = "x86"
-
- if env["arch"] == "x86": # i386, simulator
+ if env["arch"] == "x86": # i386
env["bits"] = "32"
elif env["arch"] == "x86_64":
env["bits"] = "64"