Page MenuHome

macOS: use -fno-strict-aliasing for all build types.
ClosedPublic

Authored by Ankit Meel (ankitm) on Oct 28 2020, 3:13 PM.

Diff Detail

Repository
rB Blender
Branch
aliasing (branched from master)
Build Status
Buildable 10958
Build 10958: arc lint + arc unit

Event Timeline

Ankit Meel (ankitm) requested review of this revision.Oct 28 2020, 3:13 PM
Ankit Meel (ankitm) created this revision.

For consistency with platform_unix.cmake, -fno-strict-aliasing can be added to PLATFORM_CFLAGS.

This should be committed to the blender-v2.91-release branch.

The workaround using volatile should also be removed.

  • Use PLATFORM_CFLAGS, not add_compile_options.

Will remove volatile in a follow up commit.

This revision is now accepted and ready to land.Oct 28 2020, 3:58 PM