How to fix Fatal Error: File Too Big

Hi all,
Does anyone know how to fix the “Too many sections” / “File too big” errors when building a JUCE project with CLion? The error is coming from juce_gui_basicis.cpp.obj.

Based on, the solution seems to be adding -Wa,-mbig-obj to the “Extra Compiler Flags” field of the corresponding exporter.

I hope this helps.