On Thu, 20 Feb 2025 07:46:11 +0100, Ahmad Fatoum wrote: > Defining _GNU_SOURCE via userccflags (for target tools) and KBUILD_HOSTCFLAGS > (for host tools) works, but needs to be repeated in subdirectories like i.MX > as well. As we make ample use of the asprintf GNU extension anyway, let's just > define it in the top-level makefile for build of all user code. > > Applied, thanks! [1/2] scripts: define _GNU_SOURCE for every user tool build https://git.pengutronix.de/cgit/barebox/commit/?id=6b0121ddc44b (link may not be stable) [2/2] scripts: common.h: define loff_t on musl https://git.pengutronix.de/cgit/barebox/commit/?id=f0c67c9477c9 (link may not be stable) Best regards, -- Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>