[PATCH master] kbuild: don't define _GNU_SOURCE if already defined
Sascha Hauer
s.hauer at pengutronix.de
Wed Jul 2 05:27:45 PDT 2025
On Wed, 02 Jul 2025 12:59:31 +0200, Ahmad Fatoum wrote:
> When built with PTXdist, compilation of some files like
> scripts/kconfig/lxdialog/yesno.c ends up with multiple differing definitions
> for _GNU_SOURCE:
>
> gcc [...] -std=gnu11 -D_GNU_SOURCE="" -D_GNU_SOURCE -I/usr/include/ncursesw
>
> This leads to ugly warnings when running ptxdist menuconfig.
>
> [...]
Applied, thanks!
[1/1] kbuild: don't define _GNU_SOURCE if already defined
https://git.pengutronix.de/cgit/barebox/commit/?id=514d5990382e (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list