1 |
On Thursday 13 October 2011 21:41:02 Alec Warner wrote: |
2 |
> On Thu, Oct 13, 2011 at 4:48 PM, Mike Frysinger wrote: |
3 |
> > i've found myself a few times having to implement logic like so: |
4 |
> > CFLAGS=${BUILD_CFLAGS:--O1 -pipe} \ |
5 |
> > CXXFLAGS=${BUILD_CXXFLAGS:--O1 -pipe} \ |
6 |
> > CPPFLAGS=${BUILD_CPPFLAGS} \ |
7 |
> > LDFLAGS=${BUILD_LDFLAGS} \ |
8 |
> > CC=$(tc-getBUILD_CC) \ |
9 |
> > LD=$(tc-getBUILD_LD) \ |
10 |
> > econf --host=${CBUILD} "$@" |
11 |
> |
12 |
> I'm a newb, are BUILD_* expected to be set by users? |
13 |
|
14 |
yes & no. toolchain-funcs is intelligent to setup sane values if need be. |
15 |
-mike |