https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119816
--- Comment #5 from Sam James <sjames at gcc dot gnu.org> --- The check at https://github.com/Kitware/CMake/blob/master/Modules/CheckIPOSupported.cmake which uses https://github.com/Kitware/CMake/tree/master/Modules/CheckIPOSupported doesn't seem to use any system libraries. Hopefully you had ccache on which would explain it but I'm not sure how your setup works (is /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc a wrapper or is it definitely GCC, and no chance for ccache to be involved)?