Enable RTTI for mobile builds, to enable custom class via torchbind in mobile (#34368)
Summary:
Custom classes via torchbind requires runtime type information.
We are trying to enable custom class based graph rewrite for XNNPACK in
this stacked PRs: https://github.com/pytorch/pytorch/pull/34047.
They require RTTI enabled for mobile. Mobile builds are failing
currently without it.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/34368
Differential Revision: D20306155
Pulled By: kimishpatel
fbshipit-source-id: 52c61ff5467a619e8f51708a05258eee35dd0a56