summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorJan Maria Matejka <mq@ucw.cz>2018-07-17 15:39:06 +0200
committerJan Maria Matejka <mq@ucw.cz>2018-08-14 14:01:39 +0200
commit78ca6ea8f0b8ab312b1e0ef56629a18e3efbce42 (patch)
treede767042ee6248c7337000449c0510343be17cca /Makefile.in
parent86b9e8e39a0b42407c95921ca8262b0a75cad5f2 (diff)
Make: Add option to force colors in compiler output
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 4 insertions, 0 deletions
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