aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-01-28 13:47:45 -0800
committerArmin Kuster <akuster808@gmail.com>2020-01-30 18:18:56 -0800
commit9abf13774ee370824445f122211aec2a56da5643 (patch)
tree5cf67152a95d3476dc5f17d470ce2127fe2f9481
parentb95100003df03c22eebe6ae5e4342b5281a2ef64 (diff)
downloadmeta-openembedded-contrib-9abf13774ee370824445f122211aec2a56da5643.tar.gz
meta-openembedded-contrib-9abf13774ee370824445f122211aec2a56da5643.tar.bz2
meta-openembedded-contrib-9abf13774ee370824445f122211aec2a56da5643.zip
squid: Link with libatomic on riscv
Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 626209aabb5684316eba0d4b762980924d783c93) Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-networking/recipes-daemons/squid/squid_4.6.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/squid/squid_4.6.bb b/meta-networking/recipes-daemons/squid/squid_4.6.bb
index ca4927dda1..dfd625b214 100644
--- a/meta-networking/recipes-daemons/squid/squid_4.6.bb
+++ b/meta-networking/recipes-daemons/squid/squid_4.6.bb
@@ -40,6 +40,8 @@ inherit autotools pkgconfig useradd ptest perlnative
LDFLAGS_append_mipsarch = " -latomic"
LDFLAGS_append_powerpc = " -latomic"
+LDFLAGS_append_riscv64 = " -latomic"
+LDFLAGS_append_riscv32 = " -latomic"
USERADD_PACKAGES = "${PN}"
USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid --shell /bin/false --user-group squid"