diff options
author | Qi.Chen@windriver.com <Qi.Chen@windriver.com> | 2016-12-28 15:46:40 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-02-13 18:40:13 +0100 |
commit | 300d2303049f80f1c20160282e637b76ec7f6548 (patch) | |
tree | f02c764425f3c81be8e1f844709cf19645072b72 /meta-oe/recipes-extended | |
parent | e5d586750e05878683926d039c9e66ca33505386 (diff) | |
download | meta-openembedded-300d2303049f80f1c20160282e637b76ec7f6548.tar.gz |
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>
Diffstat (limited to 'meta-oe/recipes-extended')
-rw-r--r-- | meta-oe/recipes-extended/rsyslog/rsyslog_8.22.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog_8.22.0.bb b/meta-oe/recipes-extended/rsyslog/rsyslog_8.22.0.bb index c0e0a6d69c..62126f8fb5 100644 --- a/meta-oe/recipes-extended/rsyslog/rsyslog_8.22.0.bb +++ b/meta-oe/recipes-extended/rsyslog/rsyslog_8.22.0.bb | |||
@@ -31,7 +31,7 @@ SRC_URI[sha256sum] = "06e2884181333dccecceaca82827ae24ca7a258b4fbf7b1e07a80d4caa | |||
31 | 31 | ||
32 | inherit autotools pkgconfig systemd update-rc.d ptest | 32 | inherit autotools pkgconfig systemd update-rc.d ptest |
33 | 33 | ||
34 | EXTRA_OECONF += "--disable-generate-man-pages" | 34 | EXTRA_OECONF += "--disable-generate-man-pages ap_cv_atomic_builtins=yes" |
35 | 35 | ||
36 | # first line is default yes in configure | 36 | # first line is default yes in configure |
37 | PACKAGECONFIG ??= " \ | 37 | PACKAGECONFIG ??= " \ |