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).

--
Miroslav Zagorac
Senior Developer
>From c84aea9ff85cdbacddf2207c50b3263c23f2e238 Mon Sep 17 00:00:00 2001
From: Miroslav Zagorac <[email protected]>
Date: Wed, 9 Mar 2022 19:59:15 +0100
Subject: [PATCH 16/16] BUG/BUILD: opentracing: fixed OT_DEFINE variable
 setting

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).
---
 addons/ot/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/addons/ot/Makefile b/addons/ot/Makefile
index 0cc8c6aad..2ee74d32c 100644
--- a/addons/ot/Makefile
+++ b/addons/ot/Makefile
@@ -65,7 +65,7 @@ OPTIONS_OBJS += \
 	addons/ot/src/util.o
 
 ifneq ($(OT_USE_VARS),)
-OT_DEFINE     = -DUSE_OT_VARS
+OT_DEFINE    += -DUSE_OT_VARS
 OPTIONS_OBJS += \
 	addons/ot/src/vars.o
 endif
-- 
2.30.2

Reply via email to