mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 06:07:59 +00:00
c2884a6e63
Issue #3072
25 lines
511 B
Makefile
25 lines
511 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
|
|
|
|
LIBS += libsanitizer_common
|
|
|
|
INC_DIR += $(SANITIZER_DIR)
|
|
|
|
vpath %.cc $(SANITIZER_DIR)/ubsan
|
|
|
|
SHARED_LIB = yes
|
|
|
|
CC_CXX_WARN_STRICT =
|