From: Evgeny Vereshchagin Date: Tue, 13 Apr 2021 23:55:23 +0000 (+0000) Subject: autoconf: stop passing -fsanitize=address via AM_LDFLAGS X-Git-Tag: lxc-5.0.0~198^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3801%2Fhead;p=thirdparty%2Flxc.git 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 --- 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])