On Sun, Jan 31, 2016 at 02:16:58PM -0600, Bruce Dubbs wrote:
> Ken Moffat wrote:
> 
> >I also came across posts recording a massive improvement in link
> >times for webkit.  One of those posts said that the gtk buildbots
> >for webkit were forcing gold by putting /usr/lib/gold-ld/ at the
> >front of the PATH - but on a stock install binutils does not create
> >that.  Probably, the same can be achieved (for testing) by creating
> >/usr/bin/gold/ld as a symlink and then altering $PATH for the test
> >runs (those of us with a lot of scripts probably don't want to hack
> >the correct CC= into each script).
> 
> Interesting info.
> 
> For your scripts, may I suggest having a 'global' file for common things.
> For instance I have in all my scripts:
> 
> source /usr/src/stats
> 
> but that file has more than just things relating to statistics.  For
> example, I use $SUDO when I wan to do privileged things, so I have:
> 
>   if [ $UID -ne 0 ]; then SUDO='sudo -E'; fi
> 
> Occasionally I want to override this for a DESTDIR install, so I just use
> 
> SUDO=
> 
> after the source statement.
> 
>   -- Bruse
> 

Thanks for the suggestion.  I'm thinking about various other changes
to how I run my builds, I'll consider that.

ĸen
-- 
This email was written using 100% recycled letters.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to