1.include <bsd.init.mk> 2 3LIB= clang_rt.tsan_cxx-${CRTARCH} 4 5SRCS+= tsan/rtl/tsan_new_delete.cpp 6SRCS+= ubsan/ubsan_handlers_cxx.cpp 7SRCS+= ubsan/ubsan_type_hash.cpp 8SRCS+= ubsan/ubsan_type_hash_itanium.cpp 9 10.include <bsd.lib.mk> 11 12CXXFLAGS.ubsan_handlers_cxx.cpp= -frtti 13CXXFLAGS.ubsan_type_hash.cpp= -frtti 14CXXFLAGS.ubsan_type_hash_itanium.cpp= -frtti 15