warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O)
Hi,
I can see in some examples:
warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O)
which can be fixed by passing the proper CFLAGS.
Unfortunately the warning is only visible in log files.
1) Is there a way to show compiler warnings when you bitbake on the console (without -DDD and/or -v and filtering for warning:)
2) How would you add a check for this to insane.bbclass?
Regards,
Robert