<div dir="ltr">Hi, I hope this is the right place to ask about this.<div><br></div><div>I wanted to try compiling the Kdenlive project, so I followed the instructions here: <a href="https://community.kde.org/Kdenlive/Development/WindowsBuild#Compiling_on_Windows_using_Craft_.28Recommended_method.29">https://community.kde.org/Kdenlive/Development/WindowsBuild#Compiling_on_Windows_using_Craft_.28Recommended_method.29</a><div><br></div><div>It seemed to go well for the most part, but then I got this compilation error:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font face="monospace">C:/CraftRoot/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/as.exe: src/CMakeFiles/kdenliveLib.dir/timeline2/model/timelinemodel.cpp.obj: too many sections (41199)</font></div><div><font face="monospace">                  C:\Users\Username\AppData\Local\Temp\cc2ohnjx.s: Assembler messages:</font></div><div><font face="monospace">                 C:\Users\Username\AppData\Local\Temp\cc2ohnjx.s: Fatal error: can't write 181 bytes to section .text of src/CMakeFiles/kdenliveLib.dir/timeline2/model/timelinemodel.cpp.obj: 'File too big'</font></div><div><font face="monospace">                     C:/CraftRoot/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/as.exe: src/CMakeFiles/kdenliveLib.dir/timeline2/model/timelinemodel.cpp.obj: too many sections (41199)</font></div><div><font face="monospace">                      C:\Users\Username\AppData\Local\Temp\cc2ohnjx.s: Fatal error: can't close src/CMakeFiles/kdenliveLib.dir/timeline2/model/timelinemodel.cpp.obj: File too big</font></div></blockquote><div><br></div><div>I googled the error and I found a discussion thread that suggested adding the "<span style="background-color:rgba(27,31,35,0.05);color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:11.9px">Wa,-mbig-obj</span>"  option in the CXX_FLAGS: <a href="https://github.com/include-what-you-use/include-what-you-use/issues/256">https://github.com/include-what-you-use/include-what-you-use/issues/256</a></div></div><div><br></div><div>So, I wanted to try doing this, but I'm unfamiliar with the build system (Cmake? Ninja? Makefiles?) so I'm not actually sure where I should insert it so that it actually gets used in the build system 😅</div><div><br></div><div>Could anyone help me out with this?</div><div><br></div><div>Thanks,</div><div>Ahiijny</div></div>