check_ipo_supported returns false with clang msys2 version on windows.

Everything in the object :slight_smile:
check_ipo_supported(RESULT IPO_SUPPORTED) returns IPO_SUPPORTED as true for msvc and msys2/gcc but false for msys2/clang.

According to clang --help flto options are available.

Is it a bug, a incomplete clang installation?

Regards,
A.