Re: [Toybox] [PATCH 1/2] macOS: use getconf rather than nproc for portability.

2018-11-29 Thread enh via Toybox
On Wed, Nov 28, 2018 at 5:33 PM Rob Landley wrote: > > On 11/28/18 7:11 PM, enh wrote: > > yeah, bitrot is my big fear too. i really don't want to have to > > actually get a mac. (even if i'm not paying for it, this current > > macbook pro genuinely is the most awful laptop i've ever used.) > > >

Re: [Toybox] [PATCH 1/2] macOS: use getconf rather than nproc for portability.

2018-11-28 Thread David Seikel
On Wed, 28 Nov 2018 17:11:03 -0800 enh via Toybox wrote: > yeah, bitrot is my big fear too. i really don't want to have to > actually get a mac. (even if i'm not paying for it, this current > macbook pro genuinely is the most awful laptop i've ever used.) > > but i suspect i could always just

Re: [Toybox] [PATCH 1/2] macOS: use getconf rather than nproc for portability.

2018-11-28 Thread Rob Landley
On 11/28/18 7:11 PM, enh wrote: > yeah, bitrot is my big fear too. i really don't want to have to > actually get a mac. (even if i'm not paying for it, this current > macbook pro genuinely is the most awful laptop i've ever used.) > > but i suspect i could always just update the mac toybox

Re: [Toybox] [PATCH 1/2] macOS: use getconf rather than nproc for portability.

2018-11-28 Thread enh via Toybox
yeah, bitrot is my big fear too. i really don't want to have to actually get a mac. (even if i'm not paying for it, this current macbook pro genuinely is the most awful laptop i've ever used.) but i suspect i could always just update the mac toybox prebuilt "on demand", which i assume would work

Re: [Toybox] [PATCH 1/2] macOS: use getconf rather than nproc for portability.

2018-11-28 Thread Rob Landley
On 11/28/18 5:18 PM, enh wrote: > yeah, sed seems to work okay. right now (with a bunch of source hacks > that i'll try to clean up and send to you) i have the following subset > of the AOSP build tools building: > > basename cat chmod cmp comm cut dirname dos2unix du echo egrep false > fgrep

Re: [Toybox] [PATCH 1/2] macOS: use getconf rather than nproc for portability.

2018-11-28 Thread enh via Toybox
On Wed, Nov 28, 2018 at 2:42 PM Rob Landley wrote: > > On 11/28/18 2:16 PM, enh via Toybox wrote: > > Needed to build for macOS. > > --- > > scripts/make.sh | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/scripts/make.sh b/scripts/make.sh > > index 306a7cd..59b1fd2

Re: [Toybox] [PATCH 1/2] macOS: use getconf rather than nproc for portability.

2018-11-28 Thread Rob Landley
On 11/28/18 2:16 PM, enh via Toybox wrote: > Needed to build for macOS. > --- > scripts/make.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/make.sh b/scripts/make.sh > index 306a7cd..59b1fd2 100755 > --- a/scripts/make.sh > +++ b/scripts/make.sh > @@ -15,7