meta-phosphor: phosphor-defaults: enable 64-bit time_t
A near-future Yocto update is removing 32-bit time_t support
by default. In order to get all of our software components ready
for this transition, enable 64-bit time now and then we can remove
this line once the Yocto update merges.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Id92937625510bb7562a79b8a702d0f01d87c5133
diff --git a/meta-phosphor/conf/distro/include/phosphor-defaults.inc b/meta-phosphor/conf/distro/include/phosphor-defaults.inc
index eb977ad..91a088d 100644
--- a/meta-phosphor/conf/distro/include/phosphor-defaults.inc
+++ b/meta-phosphor/conf/distro/include/phosphor-defaults.inc
@@ -147,6 +147,9 @@
# Set security headers on builds
require conf/distro/include/security_flags.inc
+# Enable 64-bit time_t
+require conf/distro/include/time64.inc
+
# obmc-libobmc-intf doesn't compile with security flags enabled
SECURITY_CFLAGS:pn-obmc-libobmc-intf = ""