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