]> git.ipfire.org Git - thirdparty/systemd.git/commit
buildsys,journal: allow -fsanitize=address without VALGRIND defined 3911/head
authorCristian Rodríguez <crrodriguez@opensuse.org>
Fri, 5 Aug 2016 16:10:41 +0000 (16:10 +0000)
committerCristian Rodríguez <crrodriguez@opensuse.org>
Sat, 6 Aug 2016 02:14:51 +0000 (02:14 +0000)
commit7dbe0b72c5666a0e0a73cefac2b1c253bce5deef
tree96f2008852c988ea8202d71ef7cf57211ce42c12
parentba8868f58a1030d8d71ecd0edb1c90fe23b914d8
buildsys,journal: allow -fsanitize=address without VALGRIND defined

Fixed (master) versions of libtool pass -fsanitize=address correctly
into CFLAGS and LDFLAGS allowing ASAN to be used without any special
configure tricks..however ASAN triggers in lookup3.c for the same
reasons valgrind does. take the alternative codepath if
__SANITIZE_ADDRESS__ is defined as well.
src/journal/lookup3.c