BUILD: makefile: support BACKTRACE_LDFLAGS

The LDFLAGS appended by USE_BACKTRACE can now be overridden using
BACKTRACE_LDFLAGS.
This commit is contained in:
Willy Tarreau 2022-12-21 16:18:40 +01:00
parent 3b66494d25
commit eb12fcc40a
1 changed files with 1 additions and 1 deletions

View File

@ -552,7 +552,7 @@ ifneq ($(USE_THREAD),)
endif endif
ifneq ($(USE_BACKTRACE),) ifneq ($(USE_BACKTRACE),)
OPTIONS_LDFLAGS += -Wl,$(if $(EXPORT_SYMBOL),$(EXPORT_SYMBOL),--export-dynamic) BACKTRACE_LDFLAGS = -Wl,$(if $(EXPORT_SYMBOL),$(EXPORT_SYMBOL),--export-dynamic)
endif endif
ifneq ($(USE_CPU_AFFINITY),) ifneq ($(USE_CPU_AFFINITY),)