]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: makefile: support ENGINE_CFLAGS
authorWilly Tarreau <w@1wt.eu>
Thu, 22 Dec 2022 10:45:33 +0000 (11:45 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 23 Dec 2022 15:53:35 +0000 (16:53 +0100)
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

index a1aaeef2ad429a6dfdbb68fc4e838ecc7c63c567..adf1d1317624c45d4fce96d11e40723bfb27d9e7 100644 (file)
--- 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),)