mirror of
https://git.yoctoproject.org/poky
synced 2026-04-14 08:02:30 +02:00
systemd: for valgrind, define VALGRIND=1
Per the systemd README, this should be defined to run systemd under valgrind, otherwise false positives will be triggered. (From OE-Core rev: c643fcf5152c50de130b16b567e2a9bad99546a1) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
46fa8aba84
commit
7ca8cd9b7a
@@ -129,6 +129,9 @@ EXTRA_OECONF = " --with-rootprefix=${rootprefix} \
|
||||
# uclibc does not have NSS
|
||||
EXTRA_OECONF_append_libc-uclibc = " --disable-myhostname "
|
||||
|
||||
# per the systemd README, define VALGRIND=1 to run under valgrind
|
||||
CFLAGS .= "${@bb.utils.contains('PACKAGECONFIG', 'valgrind', ' -DVALGRIND=1', '', d)}"
|
||||
|
||||
# disable problematic GCC 5.2 optimizations [YOCTO #8291]
|
||||
FULL_OPTIMIZATION_append_arm = " -fno-schedule-insns -fno-schedule-insns2"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user