]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Suppress OpenSSL 3.0.0 deprecated declarations warning
authorMichal Nowak <mnowak@isc.org>
Mon, 1 Nov 2021 15:34:22 +0000 (16:34 +0100)
committerMichal Nowak <mnowak@isc.org>
Tue, 21 Dec 2021 10:24:17 +0000 (11:24 +0100)
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.

.gitlab-ci.yml

index 8ded627ed3db9f8610d6b42b46f87ec0080976fd..535f1737bf2a686667f65abdcc1cafc49f6b599d 100644 (file)
@@ -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