Hello,
we would like to modify/ append some compiler options for the SDK build.
I am intereted in adding the flag for Link time optimization to the SDK build (-lto). since it is recommended to add the flag during linking and compiliation (Compiler Docu chapter 11.3.1.1).
Is there anyway to append additional compiler options to the SDK build?
I tried using the environment variable CFLAGS like so:
CFLAGS="-flto" make -f makefile.am243x nortos_r5f.ti-arm-clang PROFILE=Release -n
But this replaces the CFLAGS and does not append.
It would only be possible to append to CFLAGS if the makefiles are modified like this:
Is there any other way I am not aware of which I can use to append the compiler flag without modifying the SDK makefiles?
Thanks Fabian