<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 24 June 2015 at 02:42, Rongqing Li <span dir="ltr"><<a href="mailto:rongqing.li@windriver.com" target="_blank">rongqing.li@windriver.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":m3" class="a3s" style="overflow:hidden">#warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]<br>
| # warning _FORTIFY_SOURCE requires compiling with optimization (-O)</div></blockquote></div><br>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).</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross </div></div>