We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi
I want to build a static library for my project with gnuarm toolchain. To decrease the code size, I set the library CMAKE_C_FLAGS as "-flto", however my project gives the build error about undefined reference symbols from the library as I linked the library with --lto. How to solve this issue?
Best Regards
Jianliang Shen