summaryrefslogtreecommitdiffstats
path: root/platform/ios/detect.py
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-08-16 16:56:07 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-08-16 16:56:07 +0200
commitc3fd8752d2f6e70e4553293a831e6e337cd2361e (patch)
tree146c2256a5504b6bb7f3a1b906c301aa2ec8122a /platform/ios/detect.py
parentacc965c09c5f85d747dfcd4bfe7b88a621da92ef (diff)
parent3907e53ff68643785df0066be64fddce9f79919c (diff)
downloadredot-engine-c3fd8752d2f6e70e4553293a831e6e337cd2361e.tar.gz
Merge pull request #80612 from akien-mga/scons-disable-exception-handling
SCons: Disable C++ exception handling
Diffstat (limited to 'platform/ios/detect.py')
-rw-r--r--platform/ios/detect.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/platform/ios/detect.py b/platform/ios/detect.py
index a01f4b55db..e11c0b7d91 100644
--- a/platform/ios/detect.py
+++ b/platform/ios/detect.py
@@ -30,7 +30,6 @@ def get_opts():
),
("IOS_SDK_PATH", "Path to the iOS SDK", ""),
BoolVariable("ios_simulator", "Build for iOS Simulator", False),
- BoolVariable("ios_exceptions", "Enable exceptions", False),
("ios_triple", "Triple for ios toolchain", ""),
]
@@ -138,11 +137,6 @@ def configure(env: "Environment"):
env.Append(ASFLAGS=["-arch", "arm64"])
env.Append(CPPDEFINES=["NEED_LONG_INT"])
- if env["ios_exceptions"]:
- env.Append(CCFLAGS=["-fexceptions"])
- else:
- env.Append(CCFLAGS=["-fno-exceptions"])
-
# Temp fix for ABS/MAX/MIN macros in iOS SDK blocking compilation
env.Append(CCFLAGS=["-Wno-ambiguous-macro"])