rsyslog: use atomic builtins to avoid race issue
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 <633505cc1c1ae5749a9636f0ba75c172681d2e11@windriver.com>

rehsack/meta-openembedded,moto-timo/meta-openembedded,mrchapp/meta-openembedded,lgirdk/meta-openembedded,amery/meta-openembedded,mrchapp/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,sigma-embedded/elito-org.openembedded.meta,kraj/meta-openembedded,kraj/meta-openembedded,victronenergy/meta-openembedded,victronenergy/meta-openembedded,schnitzeltony/meta-openembedded,kraj/meta-openembedded,openembedded/meta-openembedded,victronenergy/meta-openembedded,lgirdk/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,schnitzeltony/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,mrchapp/meta-openembedded,VCTLabs/meta-openembedded,amery/meta-openembedded,lgirdk/meta-openembedded,moto-timo/meta-openembedded,schnitzeltony/meta-openembedded,VCTLabs/meta-openembedded,amery/meta-openembedded,amery/meta-openembedded,amery/meta-openembedded,schnitzeltony/meta-openembedded,lgirdk/meta-openembedded,openembedded/meta-openembedded,openembedded/meta-openembedded,VCTLabs/meta-openembedded,kraj/meta-openembedded,victronenergy/meta-openembedded,kraj/meta-openembedded,VCTLabs/meta-openembedded,rehsack/meta-openembedded,moto-timo/meta-openembedded,rehsack/meta-openembedded,VCTLabs/meta-openembedded,kraj/meta-openembedded,rehsack/meta-openembedded,openembedded/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,moto-timo/meta-openembedded,schnitzeltony/meta-openembedded,openembedded/meta-openembedded,mrchapp/meta-openembedded,VCTLabs/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,mrchapp/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,openembedded/meta-openembedded,victronenergy/meta-openembedded,openembedded/meta-openembedded,moto-timo/meta-openembedded,VCTLabs/meta-openembedded,victronenergy/meta-openembedded,amery/meta-openembedded,kraj/meta-openembedded,lgirdk/meta-openembedded,rehsack/meta-openembedded,rehsack/meta-openembedded,schnitzeltony/meta-openembedded,mrchapp/meta-openembedded,openembedded/meta-openembedded,rehsack/meta-openembedded,amery/meta-openembedded,schnitzeltony/meta-openembedded,lgirdk/meta-openembedded,victronenergy/meta-openembedded,VCTLabs/meta-openembedded,mrchapp/meta-openembedded,lgirdk/meta-openembedded,amery/meta-openembedded