1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

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>
This commit is contained in:
Khem Raj
2020-01-02 23:21:23 -08:00
committed by Richard Purdie
parent dd68e76a70
commit 70a4fe6531
+1
View File
@@ -18,6 +18,7 @@ DISTRO_FEATURES_BACKFILL_CONSIDERED += "ldconfig"
#USE_NLS ?= "no"
CXXFLAGS += "-fvisibility-inlines-hidden"
TARGET_CC_ARCH += "-D__USE_TIME_BITS64"
IMAGE_LINGUAS = ""