hi, i drop the mingw-w64-crt-search-for-correct-sysroot.patch from the spec and replace with this in the %prep since the patch not working for me and always have to updated to the current crt release: --------------------------- # By default the configure script looks for $sysroot/$host/include # while we use $sysroot/mingw/include for this sed -i "s,$host/include,mingw/include,g" configure* sed -i "s,$(host)/include,mingw/include,g" Makefile.* ---------------------------