summaryrefslogtreecommitdiff
path: root/meta-phosphor/conf/distro/include/phosphor-defaults.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-phosphor/conf/distro/include/phosphor-defaults.inc')
-rw-r--r--meta-phosphor/conf/distro/include/phosphor-defaults.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-phosphor/conf/distro/include/phosphor-defaults.inc b/meta-phosphor/conf/distro/include/phosphor-defaults.inc
index b8f4c52e3..7aed7cbd4 100644
--- a/meta-phosphor/conf/distro/include/phosphor-defaults.inc
+++ b/meta-phosphor/conf/distro/include/phosphor-defaults.inc
@@ -239,6 +239,9 @@ SECURITY_CFLAGS_pn-obmc-libobmc-intf = ""
# is merged and rev bumped
SECURITY_CFLAGS_pn-pldm = ""
+# We generally want to enable LTO with meson
+EXTRA_OEMESON_append_class-target = " -Db_lto=true"
+
# Set the root password to '0penBmc'
inherit extrausers