Skip to content

FujitsuClang: Fix settings for IPO(LTO)

To fix the issue that IPO(LTO) fails in FujitsuClang, set the variables CMAKE_<LANG>_COMPILER_AR and CMAKE_<LANG>_COMPILER_RANLIB. And change LTO option from -flto=thin to -flto since -flto=thin is not officially supported.

Fixes: #22337 (closed)
Backport: release

Edited by Brad King

Merge request reports