Loading core/config_sanitizers.mk +2 −1 Original line number Diff line number Diff line Loading @@ -78,7 +78,8 @@ ifneq ($(filter address,$(my_sanitize)),) ifdef LOCAL_IS_HOST_MODULE # -nodefaultlibs (provided with libc++) prevents the driver from linking # libraries needed with -fsanitize=address. http://b/18650275 (WAI) my_ldlibs += -ldl -lpthread my_ldlibs += -lm -ldl -lpthread my_ldflags += --no-as-needed else # ASan runtime library must be the first in the link order. my_shared_libraries := $($(LOCAL_2ND_ARCH_VAR_PREFIX)ADDRESS_SANITIZER_RUNTIME_LIBRARY) \ Loading Loading
core/config_sanitizers.mk +2 −1 Original line number Diff line number Diff line Loading @@ -78,7 +78,8 @@ ifneq ($(filter address,$(my_sanitize)),) ifdef LOCAL_IS_HOST_MODULE # -nodefaultlibs (provided with libc++) prevents the driver from linking # libraries needed with -fsanitize=address. http://b/18650275 (WAI) my_ldlibs += -ldl -lpthread my_ldlibs += -lm -ldl -lpthread my_ldflags += --no-as-needed else # ASan runtime library must be the first in the link order. my_shared_libraries := $($(LOCAL_2ND_ARCH_VAR_PREFIX)ADDRESS_SANITIZER_RUNTIME_LIBRARY) \ Loading