mdbx: take LTO_ENABLED in account for AddressSanitizer default options.

Change-Id: I691eae23ca2cb60c6e2a9260ab41e3c80c8aaeb8
This commit is contained in:
Leo Yuriev 2017-07-07 00:45:52 +03:00
parent 0047ce4bd6
commit 6f00854034

View File

@ -11240,7 +11240,9 @@ LIBMDBX_API __attribute__((weak)) const char *__asan_default_options() {
"detect_leaks=1:"
"check_printf=1:"
"detect_deadlocks=1:"
#ifndef LTO_ENABLED
"check_initialization_order=1:"
#endif
"detect_stack_use_after_return=1:"
"intercept_tls_get_addr=1:"
"decorate_proc_maps=1:"