From: Willy Tarreau Date: Thu, 22 Dec 2022 10:45:33 +0000 (+0100) Subject: BUILD: makefile: support ENGINE_CFLAGS X-Git-Tag: v2.8-dev1~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a88cc63d09dafeb70bc526d960c4763af9064946;p=thirdparty%2Fhaproxy.git BUILD: makefile: support ENGINE_CFLAGS The CFLAGS appended by USE_ENGINE can now be overridden using ENGINE_CFLAGS. These would have been better located inside the OPENSSL stuff but it's a bit too late now. --- diff --git a/Makefile b/Makefile index a1aaeef2ad..adf1d13176 100644 --- a/Makefile +++ b/Makefile @@ -582,7 +582,7 @@ ifneq ($(USE_ENGINE),) # engine support, and this option is made to silence them. Better use it # only when absolutely necessary, until there's a viable alternative to the # engine API. - OPTIONS_CFLAGS += -DOPENSSL_SUPPRESS_DEPRECATED + ENGINE_CFLAGS = -DOPENSSL_SUPPRESS_DEPRECATED endif ifneq ($(USE_QUIC),)