php8: fix compilation with musl 1.2.4
As noted in the release notes of musl 1.2.4, we can use CFLAGS to pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions (as a short-term solution). Signed-off-by: Michael Heimpold <mhei@heimpold.de>
This commit is contained in:
parent
f20ba7f6ed
commit
85bf0627b1
|
@ -194,6 +194,9 @@ CONFIGURE_ARGS+= \
|
|||
ifeq ($(CONFIG_LIBC_USE_GLIBC),y)
|
||||
TARGET_LDFLAGS += -ldl
|
||||
endif
|
||||
ifeq ($(CONFIG_USE_MUSL),y)
|
||||
TARGET_CFLAGS += -D_LARGEFILE64_SOURCE
|
||||
endif
|
||||
|
||||
ifneq ($(SDK)$(CONFIG_PACKAGE_php8-mod-bcmath),)
|
||||
CONFIGURE_ARGS+= --enable-bcmath=shared
|
||||
|
|
Loading…
Reference in New Issue