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-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3ceea84fd19c9ccc7e239b0abe1c1346bba17dd;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