From: Willy Tarreau Date: Wed, 21 Dec 2022 15:18:40 +0000 (+0100) Subject: BUILD: makefile: support BACKTRACE_LDFLAGS X-Git-Tag: v2.8-dev1~43 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=eb12fcc40adbe2f4231ae5b5c6b42e969e1cc009;p=thirdparty%2Fhaproxy.git BUILD: makefile: support BACKTRACE_LDFLAGS The LDFLAGS appended by USE_BACKTRACE can now be overridden using BACKTRACE_LDFLAGS. --- 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),)