summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-01-02 23:21:23 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-03 22:35:48 +0000
commit70a4fe6531f31b60e9538577f016bd223189322d (patch)
tree50c6604d8a94d91750d417e381b7c9c8f7b37632 /meta/conf
parentdd68e76a70bda284fba7d5763334121af68aa60a (diff)
downloadpoky-70a4fe6531f31b60e9538577f016bd223189322d.tar.gz
tclibc-musl: Add -D__USE_TIME_BITS64 to c/c++ flags
This is needed for 64bit time_t support on 32bit architectures see [1] [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=152194fe9c3f (From OE-Core rev: 194bd4136459e7a38510830b2fb0938d892ece45) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/distro/include/tclibc-musl.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/distro/include/tclibc-musl.inc b/meta/conf/distro/include/tclibc-musl.inc
index 8badbbb40a..22f8214ba3 100644
--- a/meta/conf/distro/include/tclibc-musl.inc
+++ b/meta/conf/distro/include/tclibc-musl.inc
@@ -18,6 +18,7 @@ DISTRO_FEATURES_BACKFILL_CONSIDERED += "ldconfig"
18#USE_NLS ?= "no" 18#USE_NLS ?= "no"
19 19
20CXXFLAGS += "-fvisibility-inlines-hidden" 20CXXFLAGS += "-fvisibility-inlines-hidden"
21TARGET_CC_ARCH += "-D__USE_TIME_BITS64"
21 22
22IMAGE_LINGUAS = "" 23IMAGE_LINGUAS = ""
23 24