Re: [linux-audio-dev] Can software authors make allowances for packagers?

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Can software authors make allowances for packagers?
From: Luke Yelavich (luke_AT_audioslack.com)
Date: Sun Apr 18 2004 - 13:11:08 EEST


At 03:49 PM 17/04/2004, Dave Robillard wrote:
>On Fri, 2004-04-16 at 20:53, Luke Yelavich wrote:
> > Hi all
> > I am busy packaging software for Slackware and trying to compile for a
> > specific architecture. The one problem I am finding with several packages,
> > is that the configure scripts obtain the architecture of the host system,
> > and ignore the CFLAGS variable set that contains arguments for the
> compiler
> > to compile for a specific architecture.
> >
> > I am wondering whether anybody has some work-work-arounds that might work
> > on all packages, or could developers possibly provide a configure
> > command-line argument to allow a packager to compile for a specific
> > architecture, other than their own? For example I am running an i686
> > system, whereas I want to compile for an i586 based system.
>
>If a package's configure script doesn't recognize CFLAGS, it is a bug.
>Report it as such.

The configure scripts do recognise CFLAGS, however the custom CFLAGS either
replace CFLAGS necessary for the package, or the package uses the same
flags with different parameters, eg -march and -mcpu flags.

Luke

--
Luke Yelavich
http://www.audioslack.com
luke_AT_audioslack.com


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Apr 18 2004 - 13:29:34 EEST