Remove flto dependent flags when -flto is removed.
* C++ source files could be compiled with "-fwhole-program-vtables" in cppflags. We need to filter out those flto dependent flags in flags.CppFlags and use flags.toolingCppFlags instead of flags.cppFlags. Test: build with WITH_TIDY=1 Change-Id: Ic2b0f99b95a5f0422f879226e6f6060cab71456a
Loading
Please register or sign in to comment