Make: Add option to force colors in compiler output

This commit is contained in:
Jan Maria Matejka 2018-07-17 15:39:06 +02:00
parent 86b9e8e39a
commit 78ca6ea8f0

View file

@ -55,6 +55,10 @@ else
Q:= Q:=
endif endif
ifneq ($(COLOR),)
CFLAGS += -fdiagnostics-color=always
endif
# Meta rules # Meta rules
docgoals := docs userdocs progdocs docgoals := docs userdocs progdocs
testgoals := check test tests tests_run testgoals := check test tests tests_run