mirror of
https://github.com/godotengine/buildroot.git
synced 2025-12-31 09:48:56 +03:00
A package might install headers that are incompatible with the kernel's header. One example is the most recent version of pahole (1.24). HOST_CC includes -I$(HOST_DIR)/include which comes before any include logic the kernel might have thus forcing the kernel to prefer headers in HOST_DIR. The logic to substituting -I with -isystem is taken from boot/uboot/uboot.mk. Signed-off-by: Daniel Lang <d.lang@abatec.at> Reviewed-by: Francis Laniel <flaniel@linux.microsoft.com> Tested-by: Francis Laniel <flaniel@linux.microsoft.com> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>