Android & iOS: Enable strict aliasing

This commit is contained in:
Pedro J. Estébanez 2024-10-21 13:33:42 +02:00
parent 44fa552343
commit c1fd4df3e4
2 changed files with 2 additions and 4 deletions

View file

@ -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: