0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-08 12:18:42 +00:00

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