1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

makefiles/cflags.inc.mk: set unless deactivated

`fdiagnostics-color` defaults to on only on a color capable terminal,
so it can be activated unles CC_NOCOLOR=1.
This commit is contained in:
Francisco Molina 2020-01-10 08:46:41 +01:00
parent b1ca4597ef
commit 4b8d776576

View File

@ -15,7 +15,7 @@ OPTIONAL_CFLAGS += -fno-delete-null-pointer-checks
# Use colored compiler output if the compiler supports this and if this is not
# disabled by the user
ifeq ($(CC_NOCOLOR),0)
ifneq ($(CC_NOCOLOR),1)
OPTIONAL_CFLAGS += -fdiagnostics-color
endif