mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-30 12:02:46 +00:00
rsyslog: use atomic builtins to avoid race issue
rsyslog uses a small program to check if compiler has atomic builtins or not. This does not work when cross compiling, resulting in potential race issue. In fact, when running ptest on intel-x86-64 board, we have met the race problem. As our compiler gcc, has atomic builtins, we force ap_cv_atomic_builtins to be 'yes' so that rsyslog could make use of the atomic builtins and avoid the race issue. Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
This commit is contained in:
parent
e5d586750e
commit
300d230304
@ -31,7 +31,7 @@ SRC_URI[sha256sum] = "06e2884181333dccecceaca82827ae24ca7a258b4fbf7b1e07a80d4caa
|
|||||||
|
|
||||||
inherit autotools pkgconfig systemd update-rc.d ptest
|
inherit autotools pkgconfig systemd update-rc.d ptest
|
||||||
|
|
||||||
EXTRA_OECONF += "--disable-generate-man-pages"
|
EXTRA_OECONF += "--disable-generate-man-pages ap_cv_atomic_builtins=yes"
|
||||||
|
|
||||||
# first line is default yes in configure
|
# first line is default yes in configure
|
||||||
PACKAGECONFIG ??= " \
|
PACKAGECONFIG ??= " \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user