waf and cppflags

Adrian Knoth adi at drcomp.erfurt.thur.de
Sun Feb 23 16:13:19 UTC 2014


On 02/18/14 23:31, Jaromír Mikeš wrote:

> Hi all,

Hi!

> 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)


HTH



More information about the pkg-multimedia-maintainers mailing list