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