diff options
author | Christopher Larson <chris_larson@mentor.com> | 2015-11-10 23:06:50 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-11-25 08:01:33 +0000 |
commit | c643fcf5152c50de130b16b567e2a9bad99546a1 (patch) | |
tree | 348f6ef6a114e77cf2e4f82550d4bdc441fef861 /meta | |
parent | 70ddba0a5798362923c4c437541ab9992b5020fb (diff) | |
download | openembedded-core-c643fcf5152c50de130b16b567e2a9bad99546a1.tar.gz openembedded-core-c643fcf5152c50de130b16b567e2a9bad99546a1.tar.bz2 openembedded-core-c643fcf5152c50de130b16b567e2a9bad99546a1.zip |
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.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/systemd/systemd_225.bb | 3 |
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} \ # 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" |