From f439598036842212b7a886095ff1c85e9a3cbf22 Mon Sep 17 00:00:00 2001 From: Violet Purcell Date: Thu, 8 Jun 2023 14:57:30 +0000 Subject: Remove LFS64 calls and set _FILE_OFFSET_BITS=64 Musl 1.2.4 made the LFS64 interfaces only available when _LARGEFILE64_SOURCE is defined, and they will be removed altogether in Musl 1.2.5. This commit replaces the LFS64 calls with their non-LFS64 versions and defines _FILE_OFFSET_BITS=64, which makes all interfaces 64-bit. Bug: https://bugs.gentoo.org/905999 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e76d8ec..6ca8544 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ ARFLAGS = cr RM = rm -f RANLIB = ranlib MKDIR = mkdir -p -CXXFLAGS = -fPIC +CXXFLAGS = -D_FILE_OFFSET_BITS=64 -fPIC INSTALL = install INSTALL_PROGRAM = $(INSTALL) -- cgit v1.2.3