[RFC/PATCH] buildsys: cache build flags in vars

Mike Frysinger vapier at gentoo.org
Mon Jan 16 22:19:43 UTC 2012


On Monday 16 January 2012 14:17:52 Khem Raj wrote:
> On Mon, Jan 16, 2012 at 10:00 AM, Khem Raj <raj.khem at gmail.com> wrote:
> > On Sat, Nov 26, 2011 at 9:22 PM, Mike Frysinger <vapier at gentoo.org> wrote:
> >> Running `make clean` atm takes like 20 seconds because every subdir
> >> re-evaluates all the toolchain flags.  Add some helpers to automate
> >> the process of setting up variables to cache the result of tests,
> >> as well as the checking of an already set flag.
> >> 
> >> Now `make clean` takes like 2 seconds on my system.
> 
> -Wl,sort-section,alignment also seems to be computed wrongly in CFLAGS

i just pushed a fix.  could you give it a try ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20120116/7b818d09/attachment.asc>


More information about the uClibc mailing list