am 832fa5d7
: Merge "Disable detection of bugs on global variables."
* commit '832fa5d7146a28a52f2c4f5f38f981f1e858ec8a': Disable detection of bugs on global variables.
This commit is contained in:
commit
e71711901f
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ ifneq ($(filter address,$(my_sanitize)),)
|
|||
my_ldlibs += -lm -lpthread
|
||||
my_ldflags += -Wl,--no-as-needed
|
||||
else
|
||||
my_cflags += -mllvm -asan-globals=0
|
||||
# ASan runtime library must be the first in the link order.
|
||||
my_shared_libraries := $($(LOCAL_2ND_ARCH_VAR_PREFIX)ADDRESS_SANITIZER_RUNTIME_LIBRARY) \
|
||||
$(my_shared_libraries) \
|
||||
|
|
Loading…
Reference in a new issue