1*4882a593SmuzhiyunFrom 528a64d17488295299dad9fbfe3d7140bc1cfdfa Mon Sep 17 00:00:00 2001 2*4882a593SmuzhiyunFrom: Khem Raj <raj.khem@gmail.com> 3*4882a593SmuzhiyunDate: Sat, 6 Feb 2021 11:06:48 -0800 4*4882a593SmuzhiyunSubject: [PATCH] make: Add compiler includes in cflags 5*4882a593Smuzhiyun 6*4882a593SmuzhiyunFixes 7*4882a593Smuzhiyun| In file included from /mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/kexecboot-klibc/0.6+gitAUTOINC+5a5e04be20-r0/recipe-sysroot/usr/lib/klibc/include/stdio.h:11: 8*4882a593Smuzhiyun| /mnt/b/yoe/master/build/tmp/work/raspberrypi4_64-yoe-linux/kexecboot-klibc/0.6+gitAUTOINC+5a5e04be20-r0/recipe-sysroot/usr/lib/klibc/include/stdarg.h:9:15: fatal error: 'stdarg.h' file not found 9*4882a593Smuzhiyun| #include_next <stdarg.h> 10*4882a593Smuzhiyun| ^~~~~~~~~~ 11*4882a593Smuzhiyun 12*4882a593SmuzhiyunSigned-off-by: Khem Raj <raj.khem@gmail.com> 13*4882a593Smuzhiyun--- 14*4882a593Smuzhiyun src/Makefile.am | 2 +- 15*4882a593Smuzhiyun 1 file changed, 1 insertion(+), 1 deletion(-) 16*4882a593Smuzhiyun 17*4882a593Smuzhiyundiff --git a/src/Makefile.am b/src/Makefile.am 18*4882a593Smuzhiyunindex c75df23..d2adf38 100644 19*4882a593Smuzhiyun--- a/src/Makefile.am 20*4882a593Smuzhiyun+++ b/src/Makefile.am 21*4882a593Smuzhiyun@@ -1,6 +1,6 @@ 22*4882a593Smuzhiyun bin_PROGRAMS=kexecboot 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun-kexecboot_CFLAGS = -I$(top_srcdir) $(AM_CFLAGS) 25*4882a593Smuzhiyun+kexecboot_CFLAGS = -I$(top_srcdir) $(AM_CFLAGS) -I$(shell $(CC) -print-file-name=include) 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun kexecboot_SOURCES = \ 28*4882a593Smuzhiyun util.c \ 29*4882a593Smuzhiyun-- 30*4882a593Smuzhiyun2.30.0 31*4882a593Smuzhiyun 32