Skip to content

Commit

Permalink
rsyslog: Enable 64bit atomics check
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
kraj committed Oct 2, 2024
1 parent 1575853 commit 91c7ac0
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions meta-oe/recipes-extended/rsyslog/rsyslog_8.2408.0.bb
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@ UPSTREAM_CHECK_REGEX = "(?P<pver>\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 ??= " \
Expand Down

0 comments on commit 91c7ac0

Please sign in to comment.