genode/repos/libports/lib/mk/libsanitizer_common.mk
2023-05-30 12:03:27 +02:00

38 lines
1.1 KiB
Makefile

SANITIZER_PORT_DIR := $(call select_from_ports,sanitizer)
SANITIZER_DIR := $(SANITIZER_PORT_DIR)/src/lib/sanitizer
SRC_CC = sanitizer_allocator.cpp \
sanitizer_common.cc \
sanitizer_common_libcdep.cpp \
sanitizer_coverage_libcdep_new.cpp \
sanitizer_file.cpp \
sanitizer_flag_parser.cpp \
sanitizer_flags.cpp \
sanitizer_genode.cc \
sanitizer_libc.cpp \
sanitizer_printf.cpp \
sanitizer_stackdepot.cpp \
sanitizer_stacktrace.cpp \
sanitizer_stacktrace_libcdep.cpp \
sanitizer_stacktrace_printer.cpp \
sanitizer_suppressions.cpp \
sanitizer_symbolizer.cpp \
sanitizer_symbolizer_libbacktrace.cpp \
sanitizer_symbolizer_libcdep.cpp \
sanitizer_symbolizer_posix_libcdep.cpp \
sanitizer_symbolizer_report.cpp \
sanitizer_termination.cpp
INC_DIR += $(SANITIZER_DIR)
# Prevent generation of 'strlen()' call by GCC 12
CC_OPT += -fno-tree-loop-distribute-patterns
vpath %.cc $(SANITIZER_DIR)/sanitizer_common
vpath %.cpp $(SANITIZER_DIR)/sanitizer_common
SHARED_LIB = yes
CC_CXX_WARN_STRICT =