1 |
On Tue, 28 Jun 2011 22:24:26 +0400 |
2 |
Peter Volkov <pva@g.o> wrote: |
3 |
|
4 |
> В Втр, 28/06/2011 в 12:23 -0400, Mike Frysinger пишет: |
5 |
> > On Tuesday, June 28, 2011 02:54:03 Michał Górny wrote: |
6 |
> > > emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"... |
7 |
> > |
8 |
> > this is easily dangerous when it comes to packages (and many do) |
9 |
> > that append in the Makefile. specifying on the command line blocks |
10 |
> > those while passing via env works fine. i'm not sure it's |
11 |
> > appropriate to provide as an example. |
12 |
> |
13 |
> Hm, I'm not sure I understand what you are talking about here. Could |
14 |
> you provide example? |
15 |
> |
16 |
|
17 |
if the makefile contains something like CFLAGS+="-DMYFEATURE=1" then |
18 |
'emake CFLAGS="blah"' overrides it but 'CFLAGS="blah" emake' doesnt. |
19 |
|
20 |
A. |