summaryrefslogtreecommitdiff
path: root/platform/iphone
diff options
context:
space:
mode:
authorSergey Minakov <naithar@icloud.com>2020-06-22 23:15:52 +0300
committerSergey Minakov <naithar@icloud.com>2020-06-23 12:48:44 +0300
commit090b9fec20df085add58515a6496c48a38eb6c1a (patch)
tree9c3398fd36c3fd7d0a7647c361ad66f30008d3c9 /platform/iphone
parent05395cb14fa0fbd270f6d8c63bcb7b80f45f4dfe (diff)
SCons: Enable modules for iOS
Diffstat (limited to 'platform/iphone')
-rw-r--r--platform/iphone/SCsub3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/iphone/SCsub b/platform/iphone/SCsub
index a48629f720..b72d29149c 100644
--- a/platform/iphone/SCsub
+++ b/platform/iphone/SCsub
@@ -20,6 +20,9 @@ iphone_lib = [
env_ios = env.Clone()
ios_lib = env_ios.add_library("iphone", iphone_lib)
+# (iOS) Enable module support
+env_ios.Append(CCFLAGS=["-fmodules", "-fcxx-modules"])
+
def combine_libs(target=None, source=None, env=None):
lib_path = target[0].srcnode().abspath