summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2015-11-10 23:06:50 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-25 08:08:10 +0000
commit7ca8cd9b7a2fc23ac0679eb8bd4982e4449a226c (patch)
tree38da533c2ecd5b661309a7e07f4077e22c68f2a6
parent46fa8aba84bd5f1e8a118ee6ae8d8a2568afe662 (diff)
downloadpoky-7ca8cd9b7a2fc23ac0679eb8bd4982e4449a226c.tar.gz
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>
-rw-r--r--meta/recipes-core/systemd/systemd_225.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_225.bb b/meta/recipes-core/systemd/systemd_225.bb
index 20391d773a..ea964131fb 100644
--- a/meta/recipes-core/systemd/systemd_225.bb
+++ b/meta/recipes-core/systemd/systemd_225.bb
@@ -129,6 +129,9 @@ EXTRA_OECONF = " --with-rootprefix=${rootprefix} \
129# uclibc does not have NSS 129# uclibc does not have NSS
130EXTRA_OECONF_append_libc-uclibc = " --disable-myhostname " 130EXTRA_OECONF_append_libc-uclibc = " --disable-myhostname "
131 131
132# per the systemd README, define VALGRIND=1 to run under valgrind
133CFLAGS .= "${@bb.utils.contains('PACKAGECONFIG', 'valgrind', ' -DVALGRIND=1', '', d)}"
134
132# disable problematic GCC 5.2 optimizations [YOCTO #8291] 135# disable problematic GCC 5.2 optimizations [YOCTO #8291]
133FULL_OPTIMIZATION_append_arm = " -fno-schedule-insns -fno-schedule-insns2" 136FULL_OPTIMIZATION_append_arm = " -fno-schedule-insns -fno-schedule-insns2"
134 137