]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
squid: Link against libatomic on riscv64
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 22 Feb 2021 11:05:45 +0000 (11:05 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 6 Mar 2021 11:14:51 +0000 (11:14 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/squid

index d1e91b8ae4de530430362e401436551546d99779..005d9d1b5bf2483340a4f3676722395b8ca55045 100644 (file)
--- a/lfs/squid
+++ b/lfs/squid
@@ -38,6 +38,10 @@ ifeq "$(BUILD_ARCH)" "armv5tel"
        LDFLAGS += -latomic
 endif
 
+ifeq "$(BUILD_ARCH)" "riscv64"
+       LDFLAGS += -latomic
+endif
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################