From d480165a4b3e673e735a155c30a2684087322bce Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Tue, 13 Apr 2021 23:55:23 +0000 Subject: [PATCH] autoconf: stop passing -fsanitize=address via AM_LDFLAGS The snippet is redundant because the build system automatically passes the sanitizers flags set in AM_CFLAGS to the linker Signed-off-by: Evgeny Vereshchagin --- configure.ac | 5 ----- 1 file changed, 5 deletions(-) diff --git a/configure.ac b/configure.ac index 0b6baeded..64d10eb3d 100644 --- a/configure.ac +++ b/configure.ac @@ -471,11 +471,6 @@ if test "x$enable_sanitizers" = "xyes"; then -fno-omit-frame-pointer]) AC_SUBST(AM_CFLAGS) - CC_CHECK_FLAGS_APPEND([AM_LDFLAGS],[LDFLAGS],[ \ - -fsanitize=address]) - - AC_SUBST(AM_LDFLAGS) - AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) -- 2.47.2