diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-01-02 23:21:23 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-03 22:35:48 +0000 |
commit | 70a4fe6531f31b60e9538577f016bd223189322d (patch) | |
tree | 50c6604d8a94d91750d417e381b7c9c8f7b37632 /meta/conf | |
parent | dd68e76a70bda284fba7d5763334121af68aa60a (diff) | |
download | poky-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.inc | 1 |
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 | ||
20 | CXXFLAGS += "-fvisibility-inlines-hidden" | 20 | CXXFLAGS += "-fvisibility-inlines-hidden" |
21 | TARGET_CC_ARCH += "-D__USE_TIME_BITS64" | ||
21 | 22 | ||
22 | IMAGE_LINGUAS = "" | 23 | IMAGE_LINGUAS = "" |
23 | 24 | ||