* commit '5e9f491218721adecfab6ea0178cd1e4c6723a87': Link librt on the host when using sanitizers.
This commit is contained in:
commit
7911f1b1aa
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ ifneq ($(my_sanitize),)
|
|||
ifdef LOCAL_IS_HOST_MODULE
|
||||
my_cflags += -fno-sanitize-recover=all
|
||||
my_ldflags += -fsanitize=$(fsanitize_arg)
|
||||
my_ldlibs += -ldl
|
||||
my_ldlibs += -lrt -ldl
|
||||
else
|
||||
my_cflags += -fsanitize-undefined-trap-on-error
|
||||
my_cflags += -ftrap-function=abort
|
||||
|
|
Loading…
Reference in a new issue