GCC-13 has added code where windres is called on a rc file which includes winuser.h, this requires to call windres with -I option to point to right header directory duting gcc-candian-cross builds
Fixes ../../../../../../../work-shared/gcc-13.1.0-r0/gcc-13.1.0/gcc/config/i386/utf8-mingw32.rc:1:10: fatal error: winuser.h: No such file or directory | 1 | #include <winuser.h> | | ^~~~~~~~~~~ Signed-off-by: Khem Raj <[email protected]> --- conf/machine-sdk/include/mingw32-common.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/machine-sdk/include/mingw32-common.inc b/conf/machine-sdk/include/mingw32-common.inc index af6bfc4..9ec6e07 100644 --- a/conf/machine-sdk/include/mingw32-common.inc +++ b/conf/machine-sdk/include/mingw32-common.inc @@ -38,6 +38,9 @@ TESTSDKEXT_CLASS_NAME = "" WINDMC:mingw32 = "${HOST_PREFIX}windmc" WINDRES:mingw32 = "${HOST_PREFIX}windres --include-dir=${STAGING_INCDIR}" RC:mingw32 = "${WINDRES}" +WINDMC:sdkmingw32 = "${HOST_PREFIX}windmc" +WINDRES:sdkmingw32 = "${HOST_PREFIX}windres --include-dir=${STAGING_INCDIR}" +RC:sdkmingw32 = "${WINDRES}" export WINDMC export WINDRES -- 2.40.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#60103): https://lists.yoctoproject.org/g/yocto/message/60103 Mute This Topic: https://lists.yoctoproject.org/mt/99099914/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
