waf and cppflags

Jaromír Mikeš mira.mikes at gmail.com
Mon Feb 24 00:39:47 UTC 2014


2014-02-23 17:13 GMT+01:00 Adrian Knoth <adi at drcomp.erfurt.thur.de>:

> On 02/18/14 23:31, Jaromír Mikeš wrote:
>
>  I am trying update mda-plugins and can't to pass cppflags correctly to
>> fix hardening.
>> Any waf expert between us? ;)
>>
>
> You have to put CXXFLAGS into the environment when calling configure:
>
>    http://code.google.com/p/waf/wiki/EnvironmentVariables
>
> In other words, you do
>
> override_dh_auto_configure:
>         CXXFLAGS=foo $(WAF) configure --prefix=/usr
>
> in debian/rules. (or CPPFLAGS respectively)
>

Hi,

In this case removing --debug from $(WAF) configure solved issue.
--debug option prevent flags to be applied.

best regards

mira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20140224/23ef7a10/attachment.html>


More information about the pkg-multimedia-maintainers mailing list