Add -fsized-deallocation compile option (#528)
Summary:
link: https://github.com/facebook/fbthrift/pull/528
Fb-thrift uses C++17's `operator delete`, which requires `-fsized-deallocation` when building c++ source code with clang and libstdc++.
https://github.com/facebook/hhvm/blob/
9832791642981d582d0f29c6d89dba2c879cc43d/third-party/thrift/src/thrift/lib/cpp/ContextStack.cpp#L229-L230
Pull Request resolved: https://github.com/facebook/hhvm/pull/9218
Test Plan: Rebase https://github.com/facebook/hhvm/issues/9129 onto this PR, then there will be no error message about `operator delete`.
Reviewed By: vitaut
Differential Revision:
D39707592
Pulled By: Atry
fbshipit-source-id:
aeddf5d6b2c8bb8b9d71578fe38f57a1b47f8dc9