godot icon indicating copy to clipboard operation
godot copied to clipboard

Android & iOS: Enable strict aliasing

Open RandomShaper opened this issue 1 year ago • 0 comments

For some reason, these platforms were being built with the strict aliasing rule disabled, which can prevent certain optimizations. All the other platforms are built without them, so it should be fine.

The only reason I can think of why this is necessary is that the code didn't work well otherwise because -fno-strict-aliasing was compensating for an overrelyance on memory ordering on non-ARM platforms. That wouldn't be a long-term good reason for it, though.

RandomShaper avatar Oct 21 '24 11:10 RandomShaper