diff --git a/build/autoconf/sanitize.m4 b/build/autoconf/sanitize.m4 index d885e13f8a5f..12ac8dbb0a56 100644 --- a/build/autoconf/sanitize.m4 +++ b/build/autoconf/sanitize.m4 @@ -23,8 +23,8 @@ if test -n "$MOZ_ASAN"; then fi AC_SUBST(MOZ_CLANG_RT_ASAN_LIB_PATH) fi - CFLAGS="-fsanitize=address -Dxmalloc=myxmalloc -fPIC $CFLAGS" - CXXFLAGS="-fsanitize=address -Dxmalloc=myxmalloc -fPIC $CXXFLAGS" + CFLAGS="-fsanitize=address $CFLAGS" + CXXFLAGS="-fsanitize=address $CXXFLAGS" LDFLAGS="-fsanitize=address $LDFLAGS" AC_DEFINE(MOZ_ASAN) MOZ_PATH_PROG(LLVM_SYMBOLIZER, llvm-symbolizer)