From: Jan Maria Matejka Date: Tue, 17 Jul 2018 13:39:06 +0000 (+0200) Subject: Make: Add option to force colors in compiler output X-Git-Tag: v2.0.3~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78ca6ea8f0b8ab312b1e0ef56629a18e3efbce42;p=thirdparty%2Fbird.git Make: Add option to force colors in compiler output --- diff --git a/Makefile.in b/Makefile.in index 5665f1d39..6e281cfc1 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