[yocto] warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O)
Robert Berger
yocto.user.mailinglist at gmail.com
Wed Jun 5 13:50:08 PDT 2019
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
More information about the yocto
mailing list