CI: github actions: -Wno-deprecated-declarations with OpenSSL 3.0.0
Disable the deprecated functions warning when building with openssl 3.0.0 alpha. This will need to be reverted once haproxy is ported to the new API.
This commit is contained in:
parent
c3f28a38d2
commit
64d6c09e54
|
@ -116,6 +116,8 @@ for CC in ["gcc", "clang"]:
|
||||||
flags = ["USE_OPENSSL=1"]
|
flags = ["USE_OPENSSL=1"]
|
||||||
if ssl == "BORINGSSL=yes":
|
if ssl == "BORINGSSL=yes":
|
||||||
flags.append("USE_QUIC=1")
|
flags.append("USE_QUIC=1")
|
||||||
|
if ssl == "OPENSSL_VERSION=3.0.0-alpha17":
|
||||||
|
flags.append('DEBUG_CFLAGS="-g -Wno-deprecated-declarations"')
|
||||||
if ssl != "stock":
|
if ssl != "stock":
|
||||||
flags.append("SSL_LIB=${HOME}/opt/lib")
|
flags.append("SSL_LIB=${HOME}/opt/lib")
|
||||||
flags.append("SSL_INC=${HOME}/opt/include")
|
flags.append("SSL_INC=${HOME}/opt/include")
|
||||||
|
|
Loading…
Reference in New Issue