summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'BuildTools/SCons/SConscript.boot')
-rw-r--r--BuildTools/SCons/SConscript.boot4
1 files changed, 4 insertions, 0 deletions
diff --git a/BuildTools/SCons/SConscript.boot b/BuildTools/SCons/SConscript.boot
index acd1272..00242fe 100644
--- a/BuildTools/SCons/SConscript.boot
+++ b/BuildTools/SCons/SConscript.boot
@@ -270,6 +270,10 @@ if env.get("mac106", 0) :
if not env["assertions"] :
env.Append(CPPDEFINES = ["NDEBUG"])
+# disable file-transfer support on iOS
+if env["target"] in ["iphone-device", "iphone-simulator", "xcode"] :
+ env["experimental_ft"] = False
+
if env["experimental_ft"] :
env.Append(CPPDEFINES = ["SWIFT_EXPERIMENTAL_FT"])