1 |
On Tue, Jun 28, 2011 at 10:24:26PM +0400, Peter Volkov wrote: |
2 |
> ?? ??????, 28/06/2011 ?? 12:23 -0400, Mike Frysinger ??????????: |
3 |
> > On Tuesday, June 28, 2011 02:54:03 Micha?? G??rny wrote: |
4 |
> > > emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"... |
5 |
> > |
6 |
> > this is easily dangerous when it comes to packages (and many do) that append |
7 |
> > in the Makefile. specifying on the command line blocks those while passing |
8 |
> > via env works fine. i'm not sure it's appropriate to provide as an example. |
9 |
> |
10 |
> Hm, I'm not sure I understand what you are talking about here. Could you |
11 |
> provide example? |
12 |
|
13 |
I think he's referring to somethine like: |
14 |
|
15 |
Makefile: |
16 |
CFLAGS += `pkg-config --cflags libxml-2.0` |
17 |
|
18 |
which would work fine for: |
19 |
emake |
20 |
|
21 |
but which would override the pkg-config flags if you do: |
22 |
emake CFLAGS="${CFLAGS}" |
23 |
|
24 |
-- |
25 |
binki |