Hakon,

On Tuesday, 2019-10-01 16:07:55 +0200, you wrote:

> ...
> I've got this in make.conf, which gets me part-way there:
> 
> CMAKE_COLOR_MAKEFILE=OFF
> NOCOLOR="true"
> GCC_COLORS=""

I already had the  "NOCOLOR" environment variable set  (there was a typo
in my mail, not in my "make.conf" file :-),  but the Cmake and Gcc spec-
ific environment variables were not yet there.  Thankyou for this tip.

> I've also got this in /usr/local/bin/rustc and symlinked to 
> /usr/local/bin/cargo:

This assumes "/usr/local/bin" to precede "/usr/bin" in environment vari-
able "PATH".  Can I set this for Portage only in "make.conf"?

> ----/usr/local/bin/rustc:----#!/usr/bin/perlmy @newargs=();my $skipnext=0;my 
> $me=$0;$me =~ 
> s(.*\/)();push @newargs, "--color";push @newargs, "never";foreach $arg 
> (@ARGV) {    if($arg eq "--color"){    $skipnext =1;    } 
> elsif($skipnext == 1){    $skipnext = 0;    } else { # any arg EXCEPT 
> color gets passed along verbatim     push @newargs, $arg    
> }}exec("/usr/bin/${me}",@newargs);
> ---

Alas,  this code snippet did not survive  mail transmission :-(.   Could
you please run

   perl -MMIME::Base64 -ne 'print encode_base64($_)' < /usr/local/bin/rustc

and post (or send me privately) the base64 encoded output?  Thankyou.

Sincerely,
  Rainer

Reply via email to