musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.
Manually pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.
Signed-off-by: Tianling Shen <[email protected]>
ifdef CONFIG_PERL_THREADS
MOD_CFLAGS_PERL+= -D_REENTRANT -D_GNU_SOURCE
endif
+ifdef CONFIG_USE_MUSL
+ MOD_CFLAGS_PERL+= -D_LARGEFILE64_SOURCE
+endif
# Module install prefix
PERL_SITELIB:=/usr/lib/perl5/$(PERL_VERSION)