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 <stefanb@linux.ibm.com>
This commit is contained in:
Stefan Berger 2021-09-14 17:56:19 -04:00 committed by Stefan Berger
parent 3091ef1184
commit f45bafa9bd

View File

@ -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])