[Build-common-hackers] flavors: pass flavor-specific flags after DEB_CONFIGURE_EXTRA_FLAGS
Emilio Pozuelo Monfort
pochu at debian.org
Sat Jan 8 16:28:14 UTC 2011
On 08/01/11 15:52, Jonas Smedegaard wrote:
> On Sat, Jan 08, 2011 at 03:31:26PM +0000, Emilio Pozuelo Monfort wrote:
>> I've already converted (and uploaded) glib2.0 to the flavors system :) I'm
>> really liking the flavors support in CDBS.
> Uhh, it really warms my heart that yo say sweet things like that!
>> I'm converting gtk+3.0 now, and I've found a little issue:
>> We build 3 flavors, shared, udeb and static. What I would like to do is
>> something like
>> DEB_CONFIGURE_EXTRA_FLAGS += --enable-introspection=no
>> DEB_CONFIGURE_FLAGS_shared += --enable-introspection=yes
>> DEB_CONFIGURE_FLAGS_udeb += --disable-some-features
>> DEB_CONFIGURE_FLAGS_static += --enable-static
>> i.e. since most flavors shouldn't build introspection support, I disable it in
>> EXTRA_FLAGS (which is like "common flags"), and only enable it in the shared
>> flavor flags.
> I believe the proper approach is then to use this:
> DEB_CONFIGURE_FLAGS_DEFAULT += --enable-introspection=no
Hmm, I can't find DEB_CONFIGURE_FLAGS_DEFAULT mentioned anywhere in CDBS. Do you
mean that I should add support for it in CDBS? Or is it expanded and that's why
I can't find it?
More information about the Build-common-hackers