HardenedBSD/lib/libclang_rt/tsan_cxx/Makefile
Warner Losh d0b2dbfa0e Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
2023-08-16 11:55:03 -06:00

16 lines
359 B
Makefile

.include <bsd.init.mk>
LIB= clang_rt.tsan_cxx-${CRTARCH}
SRCS+= tsan/rtl/tsan_new_delete.cpp
SRCS+= ubsan/ubsan_handlers_cxx.cpp
SRCS+= ubsan/ubsan_type_hash.cpp
SRCS+= ubsan/ubsan_type_hash_itanium.cpp
.include <bsd.lib.mk>
CXXFLAGS.ubsan_handlers_cxx.cpp= -frtti
CXXFLAGS.ubsan_type_hash.cpp= -frtti
CXXFLAGS.ubsan_type_hash_itanium.cpp= -frtti