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://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=3b66494d25835dc5a2403604083feac57d193a6e;p=haproxy.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 63c7f788b..71bd1d58a 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),)