srhines added inline comments.
================
Comment at: lib/ubsan/CMakeLists.txt:167
+ RTUbsan_cxx
+ CFLAGS ${UBSAN_CFLAGS}
+ LINK_LIBS ${UBSAN_DYNAMIC_LIBS}
----------------
Shouldn't this be UBSAN_CXXFLAGS?
https://reviews.llvm.org/D33216