Fix ubsan linking
That is, do not manually pass -lubsan to the linker, but specify the same -fsanitize=XXX flags to the linker. This is the correct way for both GCC and Clang.
parent
ae0c2fd8
Please register or sign in to comment
That is, do not manually pass -lubsan to the linker, but specify the same -fsanitize=XXX flags to the linker. This is the correct way for both GCC and Clang.