diff options
author | William A. Kennington III <wak@google.com> | 2021-05-13 12:33:12 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2021-05-26 22:21:06 +0300 |
commit | 1a977b269ed437bebb9ae7810e3157746ec9174d (patch) | |
tree | 8ebd5ae41b96f58d127a62f315d0a2f5a9fcdb4b | |
parent | ef047e2f899180e3fb72ba565abef459197fa60d (diff) | |
download | openbmc-1a977b269ed437bebb9ae7810e3157746ec9174d.tar.xz |
phosphor-defaults: Enable LTO for all meson targets
We want to benefit from the space savings of being able to link time
optimize all of our binaries built through meson.
Change-Id: If36f9e76a27bfa8d00210492c2397a174e09dbd3
Signed-off-by: William A. Kennington III <wak@google.com>
-rw-r--r-- | meta-phosphor/conf/distro/include/phosphor-defaults.inc | 3 |
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 |