From f821fbf63c5880421424f9994c74833a7548df92 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 25 Feb 2021 10:33:53 +0000 Subject: [PATCH] haproxy: Link against libatomic on riscv64 Signed-off-by: Michael Tremer --- lfs/haproxy | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lfs/haproxy b/lfs/haproxy index 5247c71484..5c522be70c 100644 --- a/lfs/haproxy +++ b/lfs/haproxy @@ -40,6 +40,10 @@ ifeq "$(BUILD_ARCH)" "armv5tel" LDFLAGS += -latomic endif +ifeq "$(BUILD_ARCH)" "riscv64" + LDFLAGS += -latomic +endif + ############################################################################### # Top-level Rules ############################################################################### -- 2.39.5