> I think the best way to add the required flag is to use the 'build'
> argument when calling the plugin() method in the plugin's wscript:
> 
> configure, plugin = plugin(..., tool='cxx',
>     build=lambda bld, o: o.env.append_value('CXXFLAGS', '-std=c++11'))
> 
> This should do exactly the same as your patch without changing
> waftools/plugin.py

Oh, well that was a lot simpler than I thought it could be!  That does
work quite perfectly, I'll stick with that solution.

Many thanks!

Cheers,
Adam.

--
_______________________________________________
Xmms2-devel mailing list
Xmms2-devel@lists.xmms2.org
https://lists.xmms2.org/cgi-bin/mailman/listinfo/xmms2-devel

Reply via email to