Many thanks Andreas.<div><br></div><div>As a small clarification, the CXXFLAGS setting in "makefile" (intentionally) overrides the setting in "src/makefile". The idea is for the user/installer to compile without warnings (by using the toplevel makefile), while the developer can compile with warnings (by using the src makefile). I'm not sure if there's a more standard way of doing that.</div>
<div><br><div class="gmail_quote">On Mon, May 7, 2012 at 10:03 PM, Andreas Tille <span dir="ltr"><<a href="mailto:andreas@an3as.eu" target="_blank">andreas@an3as.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Martin,<br>
<div class="im"><br>
On Mon, May 07, 2012 at 05:50:26PM +0900, Martin Frith wrote:<br>
> I used part of your patch in LASTv199. (I didn't include the "+=" changes,<br>
> because I think the purpose of those flag variables is to let you override<br>
> them if you want to. You might consider including "-O3" in your override.)<br>
<br>
</div>We can deal with your decision but usually we do not really want to<br>
override but just add additional flags (like for hardening). The thing is<br>
that you as the author have choosen a set of flags on purpose. If we<br>
blindly override these we might not gain the same optimisation / whatever.<br>
For the moment I worked around this that I used a 1:1 copy of your flags<br>
in src/makefile and added the hardening flags. The problem is if you might<br>
change some options in future versions I might miss this change. So for now<br>
it is fine but the "+=" solution seems to be the better one.<br>
<div class="im"><br>
> By the way, in your "rules" file, I think "clean" is no longer needed (now<br>
> in the upstream makefile), nor is "--directory src" (there is now a<br>
> top-level makefile).<br>
<br>
</div>Thanks for the hints and the extra comfort of the top-level makefile<br>
which is used now.<br>
<div class="im"><br>
> Please let me know if I misunderstood something.<br>
<br>
</div>No real misunderstanding - as I said we can live with this for now.<br>
<br>
Thanks for your support<br>
<span class="HOEnZb"><font color="#888888"><br>
Andreas.<br>
<br>
--<br>
<a href="http://fam-tille.de" target="_blank">http://fam-tille.de</a><br>
</font></span></blockquote></div><br></div>