[linux-audio-dev] Can software authors make allowances for packagers?
Luke Yelavich
luke at audioslack.com
Sun Apr 18 10:11:08 UTC 2004
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
More information about the Linux-audio-dev
mailing list