summaryrefslogtreecommitdiff
path: root/platform/iphone
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-03-20 22:44:47 +0100
committerGitHub <noreply@github.com>2021-03-20 22:44:47 +0100
commitfcddd8c53a6402b8fdf999667a991f3953c6abbc (patch)
tree3dd8b30f539bf16a07508d99c93670563432d806 /platform/iphone
parent992de9c053720f7a2d6f7144297486f6ebfa32ff (diff)
parent0b298d201e6010daff369821951c67fbb4e63a10 (diff)
Merge pull request #46966 from qarmin/faster_release
Allow to not optimize release build
Diffstat (limited to 'platform/iphone')
-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 17796beb6f..cf358e0878 100644
--- a/platform/iphone/detect.py
+++ b/platform/iphone/detect.py
@@ -54,7 +54,7 @@ def configure(env):
if env["optimize"] == "speed": # optimize for speed (default)
env.Append(CCFLAGS=["-O2", "-ftree-vectorize", "-fomit-frame-pointer"])
env.Append(LINKFLAGS=["-O2"])
- else: # optimize for size
+ elif env["optimize"] == "size": # optimize for size
env.Append(CCFLAGS=["-Os", "-ftree-vectorize"])
env.Append(LINKFLAGS=["-Os"])