mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-18 21:46:20 +00:00
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>
This commit is contained in:
parent
ea1f413b12
commit
0109f985b6
@ -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 ??= " \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user