<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2014-02-23 17:13 GMT+01:00 Adrian Knoth <span dir="ltr"><<a href="mailto:adi@drcomp.erfurt.thur.de" target="_blank">adi@drcomp.erfurt.thur.de</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 02/18/14 23:31, Jaromír Mikeš wrote:<br><div class="">
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I am trying update mda-plugins and can't to pass cppflags correctly to<br>
fix hardening.<br>
Any waf expert between us? ;)<br>
</blockquote>
<br></div>
You have to put CXXFLAGS into the environment when calling configure:<br>
<br>
   <a href="http://code.google.com/p/waf/wiki/EnvironmentVariables" target="_blank">http://code.google.com/p/waf/<u></u>wiki/EnvironmentVariables</a><br>
<br>
In other words, you do<br>
<br>
override_dh_auto_configure:<br>
        CXXFLAGS=foo $(WAF) configure --prefix=/usr<br>
<br>
in debian/rules. (or CPPFLAGS respectively)<br></blockquote><div><br></div><div>Hi, <br></div></div><br></div><div class="gmail_extra">In this case removing --debug from $(WAF) configure solved issue.<br></div><div class="gmail_extra">
--debug option prevent flags to be applied.<br><br></div><div class="gmail_extra">best regards<br><br></div><div class="gmail_extra">mira<br></div></div>