From: Michal Nowak Date: Mon, 1 Nov 2021 15:34:22 +0000 (+0100) Subject: Suppress OpenSSL 3.0.0 deprecated declarations warning X-Git-Tag: v9.11.37~9^2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=64ac8d1b5d134998665ccb644efd65d296443b9f;p=thirdparty%2Fbind9.git Suppress OpenSSL 3.0.0 deprecated declarations warning Alpine Linux image has OpenSSL 3.0.0 from the "edge" repository to test OpenSSL 3.0.0 support in the BIND 9 "main" branch. However, this breaks compilation of branches without OpenSSL 3.0.0 support and therefore OpenSSL deprecated declarations need to be suppressed with -DOPENSSL_SUPPRESS_DEPRECATED. --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8ded627ed3d..535f1737bf2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -552,7 +552,7 @@ push:docs: gcc:alpine3.15:amd64: variables: CC: gcc - CFLAGS: "${CFLAGS_COMMON}" + CFLAGS: "${CFLAGS_COMMON} -DOPENSSL_SUPPRESS_DEPRECATED" <<: *alpine_3_15_amd64_image <<: *build_job