From eb12fcc40adbe2f4231ae5b5c6b42e969e1cc009 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Wed, 21 Dec 2022 16:18:40 +0100 Subject: [PATCH] BUILD: makefile: support BACKTRACE_LDFLAGS The LDFLAGS appended by USE_BACKTRACE can now be overridden using BACKTRACE_LDFLAGS. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 71bd1d58a1..8e723643c0 100644 --- a/Makefile +++ b/Makefile @@ -552,7 +552,7 @@ ifneq ($(USE_THREAD),) endif ifneq ($(USE_BACKTRACE),) - OPTIONS_LDFLAGS += -Wl,$(if $(EXPORT_SYMBOL),$(EXPORT_SYMBOL),--export-dynamic) + BACKTRACE_LDFLAGS = -Wl,$(if $(EXPORT_SYMBOL),$(EXPORT_SYMBOL),--export-dynamic) endif ifneq ($(USE_CPU_AFFINITY),)