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.
This commit is contained in:
Willy Tarreau 2022-12-22 11:45:33 +01:00
parent d957924e68
commit a88cc63d09

View File

@ -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),)