[RFC] Install world with external toolcahin: need add STRIPBIN to IMAKEENV

2014-03-19 Thread Lev Serebryakov
Hello, Freebsd-current.

 To make make installworld successfull with external toolchain (with
WITHOUT_BINUTILS-built world) we need to have STRIBIN, pointing to
working strip in environment, or install -s will fail.

 Does attached patch looks good?

 Unfortunately, STRIP variable is occuped by -s flag :(

-- 
// Black Lion AKA Lev Serebryakov l...@freebsd.org

stribin-support-add.patch
Description: Binary data
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: [RFC] Install world with external toolcahin: need add STRIPBIN to IMAKEENV

2014-03-19 Thread Warner Losh

On Mar 19, 2014, at 4:42 AM, Lev Serebryakov l...@freebsd.org wrote:

 Hello, Freebsd-current.
 
 To make make installworld successfull with external toolchain (with
 WITHOUT_BINUTILS-built world) we need to have STRIBIN, pointing to
 working strip in environment, or install -s will fail.

Assuming you meant STRIPBIN here...

 Does attached patch looks good?

Yes. This looks good to my eye. I have a very similar change in my tree
from a while ago where I tried to get external toolchain support working
with non-clang compilers. I’ll have to go find that tree…

So please go ahead and commit this if you don’t get any objections...

 Unfortunately, STRIP variable is occuped by -s flag :(

A historical accident… but one we’re rather stuck with...

Warner

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org