]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: makefile: support THREAD_LDFLAGS
authorWilly Tarreau <w@1wt.eu>
Wed, 21 Dec 2022 15:17:40 +0000 (16:17 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 23 Dec 2022 15:53:35 +0000 (16:53 +0100)
The LDFLAGS appended by USE_THREAD can now be overridden using
THREAD_LDFLAGS.

Makefile

index 63c7f788bba70643a6be371110e6e5ab734698dc..71bd1d58a16c23bf309e48dec838b04f87730678 100644 (file)
--- 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),)