From a88cc63d09dafeb70bc526d960c4763af9064946 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Thu, 22 Dec 2022 11:45:33 +0100 Subject: [PATCH] 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),) -- 2.47.3