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: Erik de Castro Lopo (erikd-lad_AT_mega-nerd.com)
Date: Mon Apr 19 2004 - 10:23:47 EEST


On Mon, 19 Apr 2004 09:50:55 +1000
Conrad Parker <conrad_AT_metadecks.org> wrote:

> On Sun, Apr 18, 2004 at 08:11:08PM +1000, Luke Yelavich wrote:
> > >
> > >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.
>
> packages using automake should only set AM_CFLAGS, AM_INCLUDES, AM_LDFLAGS
> etc. in Makefile.am. Resetting CFLAGS, INCLUDES, LDFLAGS etc. is a bug
> (which I've also been guiltly of many times :)

I often do:

        CFLAGS="$CFLAGS -Wall-sorts-of-warnings"

Is that OK? Note that it only appends stuff the CFLAGS, it does not modify
stuff that is already there.

Erik


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

This archive was generated by hypermail 2b28 : Mon Apr 19 2004 - 10:22:32 EEST