On Tue, Jun 28, 2011 at 10:24:26PM +0400, Peter Volkov wrote:
> ?? ??????, 28/06/2011 ?? 12:23 -0400, Mike Frysinger ??????????:
> > On Tuesday, June 28, 2011 02:54:03 Micha?? G??rny wrote:
> > > emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"...
> > 
> > this is easily dangerous when it comes to packages (and many do) that 
> > append 
> > in the Makefile.  specifying on the command line blocks those while passing 
> > via env works fine.  i'm not sure it's appropriate to provide as an example.
> 
> Hm, I'm not sure I understand what you are talking about here. Could you
> provide example?

I think he's referring to somethine like:

Makefile:
CFLAGS += `pkg-config --cflags libxml-2.0`

which would work fine for:
  emake

but which would override the pkg-config flags if you do:
  emake CFLAGS="${CFLAGS}"

-- 
binki

Attachment: pgpwm9rxY2Hpm.pgp
Description: PGP signature

Reply via email to