From 238e228942affb515e8064b5d632a2018701ee0d Mon Sep 17 00:00:00 2001 From: Mike Jerris Date: Wed, 23 Nov 2016 12:26:49 -0600 Subject: [PATCH] this works on other compilers now too.. if you use it on something that doesn't work.. it might blow up, so dont do that --- configure.ac | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 38a159ed27..705043ef5f 100644 --- a/configure.ac +++ b/configure.ac @@ -456,11 +456,9 @@ AC_ARG_ENABLE(address_sanitizer, [enable_address_sanitizer="no"]) if test "${enable_address_sanitizer}" = "yes"; then - if test "x${ax_cv_c_compiler_vendor}" = "xclang" ; then - APR_ADDTO(CFLAGS, -fsanitize=address -fno-omit-frame-pointer) - APR_ADDTO(CXXFLAGS, -fsanitize=address -fno-omit-frame-pointer) - APR_ADDTO(LDFLAGS, -fsanitize=address) - fi + APR_ADDTO(CFLAGS, -fsanitize=address -fno-omit-frame-pointer) + APR_ADDTO(CXXFLAGS, -fsanitize=address -fno-omit-frame-pointer) + APR_ADDTO(LDFLAGS, -fsanitize=address) fi