]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
autoconf: stop passing -fsanitize=address via AM_LDFLAGS 3801/head
authorEvgeny Vereshchagin <evvers@ya.ru>
Tue, 13 Apr 2021 23:55:23 +0000 (23:55 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Wed, 14 Apr 2021 00:47:46 +0000 (00:47 +0000)
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 <evvers@ya.ru>
configure.ac

index 0b6baeded4d5103792eebacb28a614a61d8cae35..64d10eb3d8487dad3c953ae486fb28f0eb15a692 100644 (file)
@@ -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])