You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CMake's check_linker_flag does no split flags by spaces, so the current
call passes the single option `"/OPT:REF LINKER:/OPT:ICF"` with a space
in it to link.exe. (The first `LINKER:` prefix is parsed). This was also
broken before ede906c ([CMake][MSVC]
Wrap more Linker flags for ICX (#16284)), where it would pass `"/OPT:REF
/OPT:ICF"` as a single option.
This results in the check failing and so the build does not ever enable
these flags, even though they would be supported if the check was
correct.
Use comma as the separator as supported by the `LINKER:` syntax to fix
it.
0 commit comments