summaryrefslogtreecommitdiffstats
path: root/platform/android/detect.py
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2024-10-21 13:33:42 +0200
committerPedro J. Estébanez <pedrojrulez@gmail.com>2024-10-21 13:33:42 +0200
commitc1fd4df3e41bfb6564c33203f506ba9ff6ec8cd9 (patch)
treec3dd32f4a9dc112289849ca7ca19a9b0f149caea /platform/android/detect.py
parent44fa552343722bb048e2d7c6d3661174a95a8a3c (diff)
downloadredot-engine-c1fd4df3e41bfb6564c33203f506ba9ff6ec8cd9.tar.gz
Android & iOS: Enable strict aliasing
Diffstat (limited to 'platform/android/detect.py')
-rw-r--r--platform/android/detect.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/platform/android/detect.py b/platform/android/detect.py
index 0a10754e24..233e74364f 100644
--- a/platform/android/detect.py
+++ b/platform/android/detect.py
@@ -171,9 +171,7 @@ def configure(env: "SConsEnvironment"):
env["AS"] = compiler_path + "/clang"
env.Append(
- CCFLAGS=(
- "-fpic -ffunction-sections -funwind-tables -fstack-protector-strong -fvisibility=hidden -fno-strict-aliasing".split()
- )
+ CCFLAGS=("-fpic -ffunction-sections -funwind-tables -fstack-protector-strong -fvisibility=hidden".split())
)
if get_min_sdk_version(env["ndk_platform"]) >= 24: