diff options
author | Khem Raj <raj.khem@gmail.com> | 2024-10-02 12:08:35 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-11-19 13:13:28 -0800 |
commit | 0109f985b678b6621925994f0bfdf2f45a11ac4e (patch) | |
tree | ee955a04b196828dd4f40adc8dcf928cbe4c8706 | |
parent | ea1f413b12a6670b3a8f528f629b16afdcafd9bf (diff) | |
download | meta-openembedded-0109f985b678b6621925994f0bfdf2f45a11ac4e.tar.gz |
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 <raj.khem@gmail.com>
(cherry picked from commit 91c7ac099beca35f7081facd82bee27d9aaf46ba)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | meta-oe/recipes-extended/rsyslog/rsyslog_8.2408.0.bb | 11 |
1 files 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<pver>\d+(\.\d+)+)" | |||
39 | 39 | ||
40 | inherit autotools pkgconfig systemd update-rc.d ptest | 40 | inherit autotools pkgconfig systemd update-rc.d ptest |
41 | 41 | ||
42 | EXTRA_OECONF += "--disable-generate-man-pages ap_cv_atomic_builtins=yes" | 42 | EXTRA_OECONF += "--enable-imfile-tests ${ATOMICS}" |
43 | EXTRA_OECONF += "--enable-imfile-tests" | 43 | ATOMICS = "ap_cv_atomic_builtins_64=yes ap_cv_atomic_builtins=yes" |
44 | EXTRA_OECONF:remove:mipsarch = "ap_cv_atomic_builtins=yes" | 44 | ATOMICS:mipsarch = "" |
45 | EXTRA_OECONF:remove:powerpc = "ap_cv_atomic_builtins=yes" | 45 | ATOMICS:powerpc = "" |
46 | EXTRA_OECONF:remove:riscv32 = "ap_cv_atomic_builtins=yes" | 46 | ATOMICS:riscv32 = "" |
47 | ATOMICS:armv5 = "" | ||
47 | 48 | ||
48 | # first line is default yes in configure | 49 | # first line is default yes in configure |
49 | PACKAGECONFIG ??= " \ | 50 | PACKAGECONFIG ??= " \ |