Verified Commit 5a070da3 authored by Vladimír Čunát's avatar Vladimír Čunát Committed by Tomas Krizek
Browse files

lib/defines: guard against a bad combination of CFLAGS

parent 4c0efe2b
......@@ -99,4 +99,10 @@ void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
#define kr_asan_custom_poison(fn, addr)
#define kr_asan_custom_unpoison(fn, addr)
#if defined(__SANITIZE_ADDRESS__) && defined(_FORTIFY_SOURCE)
#error "You can't use address sanitizer with _FORTIFY_SOURCE"
/* @endcond */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment