On 24 June 2015 at 02:42, Rongqing Li <[email protected]> wrote:
> #warning _FORTIFY_SOURCE requires compiling with optimization (-O) > [-Werror=cpp] > | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) > So security_flags and debug build are mutually exclusive, and no amount of fixing recipes one by one will fix that. This is a compiler warning (presumably the result being that fortify isn't enabled in debug builds) that the mmc-utils build is treating as an error, so a more reasonable fix would be to remove -Werror from the build which is a reasonable thing to do - only the developer of software should use -Werror as it causes untold amounts of pain on everyone else if something changes (say, gcc adds a new warning). Ross
-- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
