From f45bafa9bdd5f5fd23741bf8e5d4a40f1f303acc Mon Sep 17 00:00:00 2001 From: Stefan Berger Date: Tue, 14 Sep 2021 17:56:19 -0400 Subject: [PATCH] build-sys: Add -Wno-deprecated-declarations to default CFLAGS (OSSL 3) To be able to build with OpenSSL 3.0 we need to added -Wno-deprecated-declarations to the default CFLAGS. Signed-off-by: Stefan Berger --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index c8c7b379..9ba3eb84 100644 --- a/configure.ac +++ b/configure.ac @@ -320,6 +320,7 @@ if test "x$enable_hardening" != "xno"; then fi AM_CFLAGS="$CFLAGS $COVERAGE_CFLAGS -Wall -Werror -Wreturn-type -Wsign-compare -Wno-self-assign -Wmissing-prototypes" +AM_CFLAGS="$AM_CFLAGS -Wno-deprecated-declarations" AM_LDFLAGS="$LDFLAGS $COVERAGE_LDFLAGS" AC_SUBST([AM_CFLAGS])