I think this is a bug in mingw compiler, but this library adds the switch to its interface
|
if (MINGW) |
|
check_cxx_compiler_flag("-Wa,-mbig-obj" FMT_HAS_MBIG_OBJ) |
|
if (${FMT_HAS_MBIG_OBJ}) |
|
target_compile_options(fmt PUBLIC "-Wa,-mbig-obj") |
|
endif() |
|
endif () |
and this trigger errors "plugin needed to handle lto object"
My system is Ubuntu 20.04 and I am compiling with 86_64-w64-mingw32
May be the requirement can be relaxed for 64 bit projects? What was the reason to include the flag into the config?
I think this is a bug in mingw compiler, but this library adds the switch to its interface
fmt/CMakeLists.txt
Lines 251 to 256 in c5aafd8
My system is Ubuntu 20.04 and I am compiling with 86_64-w64-mingw32
May be the requirement can be relaxed for 64 bit projects? What was the reason to include the flag into the config?