libbsd: fix compilation with musl 1.2.4
authorRobert Marko <robimarko@gmail.com>
Tue, 16 May 2023 08:48:28 +0000 (10:48 +0200)
committerPetr Štetiar <ynezz@true.cz>
Tue, 16 May 2023 12:31:14 +0000 (14:31 +0200)
commit6b17e19ad8560151f399afb7b10ea44315865f69
treefa46454c09c88bbaa978d7e1376b32181ddd4e2c
parentd26ecbcf95e2c2ecf5380fdee733c6b46276e265
libbsd: fix compilation with musl 1.2.4

musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.

_LARGEFILE64_SOURCE has to be defined in the source, or CFLAGS can be used
to pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.

Fixes: fff878c5bcda ("toolchain/musl: update to 1.2.4")
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/libs/libbsd/Makefile