]> git.puffer.fish Git - matthieu/frr.git/commitdiff
build: exclude deprecated decls from -Werror
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 2 May 2024 20:07:24 +0000 (22:07 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 2 May 2024 20:07:24 +0000 (22:07 +0200)
Other parts of the system can change (e.g. libc-ares), making things
deprecated, and then our build fails for no reason inside FRR.  This
shouldn't be an error.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
configure.ac

index f11b345cf6ef927efc19c499e5674350a7a2a8a7..9f964a2f3e409c0f7a3685dc7d2ada7f7cb674a7 100644 (file)
@@ -453,6 +453,7 @@ fi
 AC_C_FLAG([-Wno-unused-parameter])
 AC_C_FLAG([-Wno-missing-field-initializers])
 AC_C_FLAG([-Wno-microsoft-anon-tag])
+AC_C_FLAG([-Wno-error=deprecated-declarations])
 
 AC_C_FLAG([-Wc++-compat], [], [CXX_COMPAT_CFLAGS="-Wc++-compat"])
 AC_SUBST([CXX_COMPAT_CFLAGS])