[arch-projects] [devtools] [PATCH 4/4] Use colored diagnostics by default.

Eli Schwartz eschwartz at archlinux.org
Tue Nov 5 23:40:44 UTC 2019


On 11/5/19 6:38 PM, Eli Schwartz wrote:
> I like color and feel comfortable using `less -R` to view logs.
> 
> Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
> ---
>  makepkg-x86_64.conf | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/makepkg-x86_64.conf b/makepkg-x86_64.conf
> index 137d412..7fc3611 100644
> --- a/makepkg-x86_64.conf
> +++ b/makepkg-x86_64.conf
> @@ -39,8 +39,8 @@ CHOST="x86_64-pc-linux-gnu"
>  
>  #-- Compiler and Linker Flags
>  CPPFLAGS="-D_FORTIFY_SOURCE=2"
> -CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt"
> -CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt"
> +CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fdiagnostics-color=always"
> +CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fdiagnostics-color=always"
>  LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
>  #-- Make Flags: change this for DistCC/SMP systems
>  #MAKEFLAGS="-j2"

Hmm, sent in the wrong four patches. :p

-- 
Eli Schwartz
Bug Wrangler and Trusted User

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1601 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-projects/attachments/20191105/19d44b7c/attachment.sig>


More information about the arch-projects mailing list