CXXFLAGS problem

Timo Aaltonen tjaalton at cc.hut.fi
Wed May 7 21:31:36 UTC 2008


 	Hi again

On Sat, 12 Apr 2008, Tobias Grimm wrote:

<snip>

Ubuntu 8.04 has 1.6.0, and while rebuilding the plugins I noticed that 
most of them failed due to the change in dpkg-buildpackage.. nice. So I 
ended up unexporting the flags like was documented somewhere (some plugins 
needed unexporting CFLAGS too).

> There are several ways to solve this:
>
> 1. d-Patch all Makefiles
> 2. unexport CXXFLAGS in all debian/rules
> 3. overwrite CXXFLAGS in all debian/rules
> 4. Use Make.config in vdr-dev (which is included by all Plug-ins except
> vdr-plugin-mlcd) to overwrite CXXFLAGS
>
> 4. Would be the easiest, because then nn plug-in must be touched. But
> all plug-ins would then be compiled with the same CXXFLAGS, which might
> not be appropriate for some of them. 1. Would be a lot of stupid work to
> do. Same for 2 and 3, but then slightly less work.
>
> I think a mix of 4 and 3 would be fine. Define default CXXFLAGS in
> Make.config and when needed overwrite the CXXFLAGS in debian/rules.
>
> What do you think?

That sounds like a good idea, certainly better than 2. Would also allow 
me to request syncing the plugins for the next ubuntu release :)


t



More information about the pkg-vdr-dvb-devel mailing list