From 381ff9404b1556aa3eb79c01f8b4ce90b3887c80 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 28 Jul 2023 10:59:47 -0400 Subject: [PATCH] Don't error out when using deprecated functions. --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 79009b09..845bc943 100755 --- a/configure +++ b/configure @@ -5235,7 +5235,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test x$enable_maintainer = xyes then : - WARNINGS="$WARNINGS -Werror" + WARNINGS="$WARNINGS -Werror -Wno-error=deprecated" fi diff --git a/configure.ac b/configure.ac index 7bd2fb05..fab50edb 100644 --- a/configure.ac +++ b/configure.ac @@ -547,7 +547,7 @@ AS_IF([test -n "$GCC"], [ dnl Maintainer mode enables -Werror... AS_IF([test x$enable_maintainer = xyes], [ - WARNINGS="$WARNINGS -Werror" + WARNINGS="$WARNINGS -Werror -Wno-error=deprecated" ]) dnl See if PIE options are supported...