chiark / gitweb /
build-sys: add ./configure --enable-address-sanitizer
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 26 Sep 2013 08:31:44 +0000 (10:31 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 26 Sep 2013 09:12:04 +0000 (11:12 +0200)
commit732bfe09aeffc3cd78b80ee9e20c9c3babd944d6
tree2f7dbf894a52d632a98e5396efa5be33e98c6137
parent5843c5ebb4341382ae9c87e93c2c87467e573548
build-sys: add ./configure --enable-address-sanitizer

Enabling address sanitizer seems like a useful thing, but is quite
tricky. Proper flags have to be passed to CPPFLAGS, CFLAGS and
LDFLAGS, but passing them on the commandline doesn't work because
we tests are done with ld directly, and not with libtool like in
real linking. We might want to fix this, but let's add a handy
way to enable address checking anyway.
configure.ac