]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/BUILD: opentracing: fixed OT_DEFINE variable setting
authorMiroslav Zagorac <mzagorac@haproxy.com>
Wed, 9 Mar 2022 18:59:15 +0000 (19:59 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 8 Apr 2022 14:31:33 +0000 (16:31 +0200)
In case of using parameter 'OT_USE_VARS=1', the value of the OT_DEFINE
variable is set incorrectly (i.e. the previous value was deleted and a
new one set instead of adding new content).

This patch must be backported in 2.5.

addons/ot/Makefile

index c7b0f8db9ed78159c943e38618968cb614ff7578..18edd0a230b9c617e502efd85bf39d2e75aba777 100644 (file)
@@ -67,7 +67,7 @@ OPTIONS_OBJS += \
 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
+OT_DEFINE    += -DUSE_OT_VARS
 OPTIONS_OBJS += \
        addons/ot/src/vars.o
 endif