View Single Post
Old 09-08-2015, 09:16 PM   #70
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by NiLuJe View Post
@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).
knc1 is offline   Reply With Quote