diff options
author | Jan Maria Matejka <mq@ucw.cz> | 2018-07-17 15:39:06 +0200 |
---|---|---|
committer | Jan Maria Matejka <mq@ucw.cz> | 2018-08-14 14:01:39 +0200 |
commit | 78ca6ea8f0b8ab312b1e0ef56629a18e3efbce42 (patch) | |
tree | de767042ee6248c7337000449c0510343be17cca | |
parent | 86b9e8e39a0b42407c95921ca8262b0a75cad5f2 (diff) |
Make: Add option to force colors in compiler output
-rw-r--r-- | Makefile.in | 4 |
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 |