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:
parent
b1ca4597ef
commit
4b8d776576
@ -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
|
# Use colored compiler output if the compiler supports this and if this is not
|
||||||
# disabled by the user
|
# disabled by the user
|
||||||
ifeq ($(CC_NOCOLOR),0)
|
ifneq ($(CC_NOCOLOR),1)
|
||||||
OPTIONAL_CFLAGS += -fdiagnostics-color
|
OPTIONAL_CFLAGS += -fdiagnostics-color
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user