From 0109f985b678b6621925994f0bfdf2f45a11ac4e Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 2 Oct 2024 12:08:35 -0700 Subject: rsyslog: Enable 64bit atomics check Build checks for this during configure but the test is a runtime test, which does not work when cross-compiling, therefore prescribe this by caching it for architecture/compiler options where it will work ok. Signed-off-by: Khem Raj (cherry picked from commit 91c7ac099beca35f7081facd82bee27d9aaf46ba) Signed-off-by: Armin Kuster --- meta-oe/recipes-extended/rsyslog/rsyslog_8.2408.0.bb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog_8.2408.0.bb b/meta-oe/recipes-extended/rsyslog/rsyslog_8.2408.0.bb index 41e3963580..cf833de22c 100644 --- a/meta-oe/recipes-extended/rsyslog/rsyslog_8.2408.0.bb +++ b/meta-oe/recipes-extended/rsyslog/rsyslog_8.2408.0.bb @@ -39,11 +39,12 @@ UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)" inherit autotools pkgconfig systemd update-rc.d ptest -EXTRA_OECONF += "--disable-generate-man-pages ap_cv_atomic_builtins=yes" -EXTRA_OECONF += "--enable-imfile-tests" -EXTRA_OECONF:remove:mipsarch = "ap_cv_atomic_builtins=yes" -EXTRA_OECONF:remove:powerpc = "ap_cv_atomic_builtins=yes" -EXTRA_OECONF:remove:riscv32 = "ap_cv_atomic_builtins=yes" +EXTRA_OECONF += "--enable-imfile-tests ${ATOMICS}" +ATOMICS = "ap_cv_atomic_builtins_64=yes ap_cv_atomic_builtins=yes" +ATOMICS:mipsarch = "" +ATOMICS:powerpc = "" +ATOMICS:riscv32 = "" +ATOMICS:armv5 = "" # first line is default yes in configure PACKAGECONFIG ??= " \ -- cgit v1.2.3-54-g00ecf