From: Mike Jerris Date: Wed, 23 Nov 2016 18:26:49 +0000 (-0600) Subject: this works on other compilers now too.. if you use it on something that doesn't work... X-Git-Tag: v1.8.0~1041 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=238e228942affb515e8064b5d632a2018701ee0d;p=thirdparty%2Ffreeswitch.git 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 --- 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