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

Makefile

index a5235530d5573ed541223ac7940613f4ecde7664..63c7f788bba70643a6be371110e6e5ab734698dc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -544,7 +544,7 @@ ifneq ($(USE_EVPORTS),)
 endif
 
 ifneq ($(USE_RT),)
-  OPTIONS_LDFLAGS += -lrt
+  RT_LDFLAGS = -lrt
 endif
 
 ifneq ($(USE_THREAD),)