nextcloud-desktop/cmake
Stephan Beyer 7f598b181e Add -fno-sanitize=vptr for SANITIZE_UNDEFINED=ON
The UndefinedBehaviorSanitizer includes the "vptr" check.  This
check, however, needs typeinfo for OCC::AccountManager because
otherwise its stub for FileManTest leads to undefined references
when linking.  Adding the -frtti flag to enable run-time typeinfo
did not solve the problem.  I do not know another solution, so this
commit disables the vptr check.

Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
2020-05-19 10:57:58 +02:00
..
modules Add -fno-sanitize=vptr for SANITIZE_UNDEFINED=ON 2020-05-19 10:57:58 +02:00
scripts Minor build etc typos 2015-09-10 13:20:11 +05:45