diff mbox series

[meta-oe] libfaketime: Eanable LFS64 on musl

Message ID 20230827035244.1434686-1-raj.khem@gmail.com
State New
Headers show
Series [meta-oe] libfaketime: Eanable LFS64 on musl | expand

Commit Message

Khem Raj Aug. 27, 2023, 3:52 a.m. UTC
Musl has 64bit time_t inherently, ideally this library should be fixed
for that but lets apply the musl aliasing solution for now.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-oe/recipes-test/libfaketime/libfaketime_0.9.10.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-oe/recipes-test/libfaketime/libfaketime_0.9.10.bb b/meta-oe/recipes-test/libfaketime/libfaketime_0.9.10.bb
index 49f68bf629..6a0a8f32af 100644
--- a/meta-oe/recipes-test/libfaketime/libfaketime_0.9.10.bb
+++ b/meta-oe/recipes-test/libfaketime/libfaketime_0.9.10.bb
@@ -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