[CMake] Don't add -Wnon-virtual-dtor if affected by GCC PR102168
See the discussion on https://reviews.llvm.org/rG4852c770fe8703145dd2a35395985646ce57a454 The GCC behavior (https://gcc.gnu.org/PR102168) seems unhelpful. Unconditional -Wnon-virtual-dtor led to other unnecessary workarounds like 6df09d6c This patches uses a variant of the 4bb5f44c check to detect GCC PR102168. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D109404
Loading
Please sign in to comment