Quote:
Originally Posted by NiLuJe
@knc1: What about when LDLFAGS actually *has* a legitimate reason for being in a *-gcc call? I'm mainly thinking of single source file stuff, where gcc itself is calling the linker (which is how some/most autotools tests behave, IIRC?)?
|
That will work now.
In fact, it does work (both libtirpc and busybox are autotools packages).
Although I want to clean up the macro that generates the makefile macro that generates the setup for calling autotools tomorrow (or tonight if I can't sleep).
Yup -
Buildroot is that sort of beast - macros that generate macros that generate make rules.
(I don't think it gets more than three levels deep, mostly just one or two.)
The problem I fixed (or am fixing) was when LDFLAGS was passed to LD (which really doesn't like the GCC format for load flags).