From: Miroslav Zagorac Date: Mon, 27 Dec 2021 11:44:07 +0000 (+0100) Subject: BUILD: opentracing: display warning in case of using OT_USE_VARS at compile time X-Git-Tag: v2.5.1~23 X-Git-Url: http://git.haproxy.org/?a=commitdiff_plain;h=561b0849ab467331c68b499c0a0e12e6e7486734;p=haproxy-2.5.git BUILD: opentracing: display warning in case of using OT_USE_VARS at compile time Please do not set the OT_USE_VARS configuration variable, as the source will probably not be able to compile! For now, this variable can only be used for experimental purposes, and is not intended for wider use. For further clarification, please see commit 4cb2c83f4. Must be backported to 2.5. (cherry picked from commit 6c9f7faa62a00a4d028704d7b11e290c83f8a49d) Signed-off-by: Willy Tarreau --- diff --git a/addons/ot/Makefile b/addons/ot/Makefile index 0cc8c6a..c7b0f8d 100644 --- a/addons/ot/Makefile +++ b/addons/ot/Makefile @@ -65,6 +65,8 @@ OPTIONS_OBJS += \ addons/ot/src/util.o ifneq ($(OT_USE_VARS),) +$(warning Please do not set the OT_USE_VARS configuration variable, as the source will probably not be able to compile! For now, this variable can only be used for experimental purposes, and is not intended for wider use.) + OT_DEFINE = -DUSE_OT_VARS OPTIONS_OBJS += \ addons/ot/src/vars.o