Update flags with configurable strict aliasing

Change-Id: I3145c766c597016cfe7f1ce903cf7b3f5fb75fa8