Re: multilib fun - devel packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Joe Orton (jorton@xxxxxxxxxx) said: 
> On Wed, Dec 07, 2005 at 11:39:47PM -0500, Bill Nottingham wrote:
> > There are varying solutions that can be done, depending
> > on the sorts of conflicts:
> > 
> > 1) Old-style <library>-config scripts for setting CFLAGS and
> >    LDFLAGS. Example: libst-config
> >    
> >    Can be a) ported to pkg-config b) genericized to have a
> >    single script for all arches.
> 
> At least for some of my packages it's not possible to simply remove the 
> *-config scripts, they are an essential part of the build 
> infrastructure.
> 
> I don't see how (b) is possible.  How do I tell a foo-config script 
> whether it's doing an -m32 or an -m64 build?

You *can* use uname, although that requires that you use setarch
when you're building. Checking $CFLAGS could also be used.

Bill


[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux