Re: Ardour3 waf build sysẗem and *FLAGS

2013-09-25 Thread Thomas Nagy
Waf by default does accept CFLAGS and CXXFLAGS, and in all versions.

There might be something in the Ardour3 project preventing that. Do you
have any url for the source code and in particular for the wscript file?

Thomas


On Wed, Sep 25, 2013 at 5:54 PM, Jaromír Mikeš mira.mi...@gmail.com wrote:


 Hi Thomas,

 we have some issue with Ardour3 packaging and waf build system

 In new versions of debhelper we are passing extra CFLAGS CXXFLAGS and
 LDFLAGS.
 As we succeeded with LDFLAGS we didn't with CFLAGS  and CXXFAGS.

 By documentation waf should accept standard variables, but it doesn't in
 our case.
 http://code.google.com/p/waf/wiki/EnvironmentVariables

 Any solution for our problem?

 best regards

 mira

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Re: Ardour3 waf build sysẗem and *FLAGS

2013-09-25 Thread Thomas Nagy
On Wed, Sep 25, 2013 at 9:03 PM, Felipe Sateler wrote:

 Hi Thomas,

 On Wed, Sep 25, 2013 at 1:42 PM, Thomas Nagy tnagy1...@gmail.com wrote:
  Waf by default does accept CFLAGS and CXXFLAGS, and in all versions.
 
  There might be something in the Ardour3 project preventing that. Do you have
  any url for the source code and in particular for the wscript file?

 Here is the wscript file[1]

 Paul Davis[2] noted that --optimize seems to enable waf to pick up the
 C*FLAGS variables. Is this intended behavior, or possibly something in
 the wscript is triggering this?


The Ardour wscript file loads an Ardour helper module called
autowaf.py. This module will force specific CFLAGS/CXXFLAGS in the
default build. If I am not mistaken, the default build is intended as
a debug build and will enforce its own flags.

This is therefore an Ardour-specific trap, and you almost certainly
want to configure Ardour with --optimize for packaging purposes.

Regards,
Thomas

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers