From: Willy Tarreau Date: Wed, 21 Dec 2022 15:17:40 +0000 (+0100) Subject: BUILD: makefile: support THREAD_LDFLAGS X-Git-Tag: v2.8-dev1~44 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3b66494d25835dc5a2403604083feac57d193a6e;p=thirdparty%2Fhaproxy.git BUILD: makefile: support THREAD_LDFLAGS The LDFLAGS appended by USE_THREAD can now be overridden using THREAD_LDFLAGS. --- diff --git a/Makefile b/Makefile index 63c7f788bb..71bd1d58a1 100644 --- a/Makefile +++ b/Makefile @@ -548,7 +548,7 @@ ifneq ($(USE_RT),) endif ifneq ($(USE_THREAD),) - OPTIONS_LDFLAGS += -lpthread + THREAD_LDFLAGS = -lpthread endif ifneq ($(USE_BACKTRACE),)