From 78ca6ea8f0b8ab312b1e0ef56629a18e3efbce42 Mon Sep 17 00:00:00 2001 From: Jan Maria Matejka Date: Tue, 17 Jul 2018 15:39:06 +0200 Subject: [PATCH] Make: Add option to force colors in compiler output --- Makefile.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.in b/Makefile.in index 5665f1d3..6e281cfc 100644 --- a/Makefile.in +++ b/Makefile.in @@ -55,6 +55,10 @@ else Q:= endif +ifneq ($(COLOR),) + CFLAGS += -fdiagnostics-color=always +endif + # Meta rules docgoals := docs userdocs progdocs testgoals := check test tests tests_run