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