forked from Mirrors/freeswitch
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
This commit is contained in:
parent
62abc8a342
commit
238e228942
@ -456,12 +456,10 @@ 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
|
||||
fi
|
||||
|
||||
|
||||
case "${ax_cv_c_compiler_vendor}" in
|
||||
|
Loading…
Reference in New Issue
Block a user