On Mar 2, 2006, at 2:05 PM, Craig Hughes wrote:
> Hmm, looks like the buildroot paths to the compiler and stuff
> aren't getting passed to the make process. Or actually, the
> compiler optimization flags are, but not the compiler location. So
> it's trying to pass ARM flags to your (presumably x86 or something)
> host compiler. I'll take a look.
Ok, turns out that in building "subst", it in fact wants to be using
the host compiler (which it is doing), but it's passing it the same
CFLAGS which goes to the target compiler. So I've just removed
passing the host-specific CFLAGS in the first place, and now it seems
to get past that part. But it breaks later on, due to a problem with
sstrip again. So I've switched to using SAFE_STRIP for e2fsprogs. I
also fixed SAFE_STRIP so that it actually works right... Delayed-
interpolation in Make variables is really nasty.
Now the whole thing builds OK.
C
|