Skip to contentSkip to conversation

libfaketime: Eanable LFS64 on musl

PATCH New Khem Raj 1 participant 1 message Aug 27, 2023

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 libfaketime: Eanable LFS64 on musl

Musl has 64bit time_t inherently, ideally this library should be fixed for that but lets apply the musl aliasing solution for now.

---
 meta-oe/recipes-test/libfaketime/libfaketime_0.9.10.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-test/libfaketime/libfaketime_0.9.10.bb +2 -0
index 49f68bf629..6a0a8f32af 100644
@@ -11,6 +11,8 @@ SRC_URI = "git://github.com/wolfcw/libfaketime.git;branch=master;protocol=https
 
 S = "${WORKDIR}/git"
 
+CFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE"
+
 do_configure[noexec] = "1"
 do_compile () {
     oe_runmake
Signature · 1 line
2.42.0