[Build-common-hackers] flavors: pass flavor-specific flags after DEB_CONFIGURE_EXTRA_FLAGS
dr at jones.dk
Sat Jan 8 15:52:46 UTC 2011
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
>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
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: Digital signature
More information about the Build-common-hackers