mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 06:57:51 +00:00
8e2e4374f5
Issue #3307
25 lines
536 B
Makefile
25 lines
536 B
Makefile
SANITIZER_PORT_DIR := $(call select_from_ports,sanitizer)
|
|
|
|
SANITIZER_DIR := $(SANITIZER_PORT_DIR)/src/lib/sanitizer
|
|
|
|
SRC_CC = ubsan_diag.cc \
|
|
ubsan_flags.cc \
|
|
ubsan_handlers.cc \
|
|
ubsan_handlers_cxx.cc \
|
|
ubsan_init.cc \
|
|
ubsan_type_hash.cc \
|
|
ubsan_type_hash_itanium.cc \
|
|
ubsan_value.cc
|
|
|
|
CC_OPT += -DCAN_SANITIZE_UB=1 -DUBSAN_CAN_USE_CXXABI=1
|
|
|
|
LIBS += libsanitizer_common
|
|
|
|
INC_DIR += $(SANITIZER_DIR)
|
|
|
|
vpath %.cc $(SANITIZER_DIR)/ubsan
|
|
|
|
SHARED_LIB = yes
|
|
|
|
CC_CXX_WARN_STRICT =
|