diff options
-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} \ | |||
129 | # uclibc does not have NSS | 129 | # uclibc does not have NSS |
130 | EXTRA_OECONF_append_libc-uclibc = " --disable-myhostname " | 130 | EXTRA_OECONF_append_libc-uclibc = " --disable-myhostname " |
131 | 131 | ||
132 | # per the systemd README, define VALGRIND=1 to run under valgrind | ||
133 | CFLAGS .= "${@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] |
133 | FULL_OPTIMIZATION_append_arm = " -fno-schedule-insns -fno-schedule-insns2" | 136 | FULL_OPTIMIZATION_append_arm = " -fno-schedule-insns -fno-schedule-insns2" |
134 | 137 | ||