1 |
Hakon, |
2 |
|
3 |
On Tuesday, 2019-10-01 16:07:55 +0200, you wrote: |
4 |
|
5 |
> ... |
6 |
> I've got this in make.conf, which gets me part-way there: |
7 |
> |
8 |
> CMAKE_COLOR_MAKEFILE=OFF |
9 |
> NOCOLOR="true" |
10 |
> GCC_COLORS="" |
11 |
|
12 |
I already had the "NOCOLOR" environment variable set (there was a typo |
13 |
in my mail, not in my "make.conf" file :-), but the Cmake and Gcc spec- |
14 |
ific environment variables were not yet there. Thankyou for this tip. |
15 |
|
16 |
> I've also got this in /usr/local/bin/rustc and symlinked to |
17 |
> /usr/local/bin/cargo: |
18 |
|
19 |
This assumes "/usr/local/bin" to precede "/usr/bin" in environment vari- |
20 |
able "PATH". Can I set this for Portage only in "make.conf"? |
21 |
|
22 |
> ----/usr/local/bin/rustc:----#!/usr/bin/perlmy @newargs=();my $skipnext=0;my $me=$0;$me =~ |
23 |
> s(.*\/)();push @newargs, "--color";push @newargs, "never";foreach $arg |
24 |
> (@ARGV) { if($arg eq "--color"){ $skipnext =1; } |
25 |
> elsif($skipnext == 1){ $skipnext = 0; } else { # any arg EXCEPT |
26 |
> color gets passed along verbatim push @newargs, $arg |
27 |
> }}exec("/usr/bin/${me}",@newargs); |
28 |
> --- |
29 |
|
30 |
Alas, this code snippet did not survive mail transmission :-(. Could |
31 |
you please run |
32 |
|
33 |
perl -MMIME::Base64 -ne 'print encode_base64($_)' < /usr/local/bin/rustc |
34 |
|
35 |
and post (or send me privately) the base64 encoded output? Thankyou. |
36 |
|
37 |
Sincerely, |
38 |
Rainer |