diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2024-05-02 22:07:24 +0200 | 
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2024-05-02 22:07:24 +0200 | 
| commit | e509f30510db65b02673e2a75143a459dd0d2f30 (patch) | |
| tree | ad3e22486f0d3db84e17925fc781c95c5486c9ad | |
| parent | 54ea38819fbd383a27c17e39d1e1a1bce95bc266 (diff) | |
build: exclude deprecated decls from -Werror
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>
| -rw-r--r-- | configure.ac | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index f11b345cf6..9f964a2f3e 100644 --- a/configure.ac +++ b/configure.ac @@ -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])  | 
