]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: makefile: use USE_LIBATOMIC instead of USE_ATOMIC
authorDragan Dosen <ddosen@haproxy.com>
Mon, 15 May 2023 13:13:32 +0000 (15:13 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 15 May 2023 14:08:03 +0000 (16:08 +0200)
The issue was introduced with commit c108f37c2 ("BUILD: makefile:
rework 51D to split v3/v4"), and is also related to commit b16d9b58
("BUILD: makefile: never force -latomic, set USE_LIBATOMIC instead")
where USE_ATOMIC has been replaced.

Makefile

index 1151a081f4ee4b9e61a950972dbda019198fa9aa..115dd553b9c90ac1fa8ffdebea2de83dcd96f7a1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -690,7 +690,7 @@ ifneq ($(USE_51DEGREES),)
     ifeq ($(USE_THREAD),)
       51DEGREES_CFLAGS += -DFIFTYONEDEGREES_NO_THREADING -DFIFTYONE_DEGREES_NO_THREADING
     endif
-    USE_ATOMIC          = implicit
+    USE_LIBATOMIC       = implicit
   endif # 51DEGREES_VER==4
 
   ifeq ($(51DEGREES_VER),3)  # v3 here