Merge "Don't force color diagnostics outside of ninja"
This commit is contained in:
commit
41fed8c082
|
@ -60,8 +60,10 @@ CLANG_CONFIG_EXTRA_CPPFLAGS += \
|
||||||
|
|
||||||
# Force clang to always output color diagnostics. Ninja will strip the ANSI
|
# Force clang to always output color diagnostics. Ninja will strip the ANSI
|
||||||
# color codes if it is not running in a terminal.
|
# color codes if it is not running in a terminal.
|
||||||
|
ifdef BUILDING_WITH_NINJA
|
||||||
CLANG_CONFIG_EXTRA_CFLAGS += \
|
CLANG_CONFIG_EXTRA_CFLAGS += \
|
||||||
-fcolor-diagnostics
|
-fcolor-diagnostics
|
||||||
|
endif
|
||||||
|
|
||||||
CLANG_CONFIG_UNKNOWN_CFLAGS := \
|
CLANG_CONFIG_UNKNOWN_CFLAGS := \
|
||||||
-finline-functions \
|
-finline-functions \
|
||||||
|
|
|
@ -587,7 +587,9 @@ COMMON_RELEASE_CFLAGS:= -DNDEBUG -UDEBUG
|
||||||
|
|
||||||
# Force gcc to always output color diagnostics. Ninja will strip the ANSI
|
# Force gcc to always output color diagnostics. Ninja will strip the ANSI
|
||||||
# color codes if it is not running in a terminal.
|
# color codes if it is not running in a terminal.
|
||||||
|
ifdef BUILDING_WITH_NINJA
|
||||||
COMMON_GLOBAL_CFLAGS += -fdiagnostics-color
|
COMMON_GLOBAL_CFLAGS += -fdiagnostics-color
|
||||||
|
endif
|
||||||
|
|
||||||
COMMON_GLOBAL_CPPFLAGS:= -Wsign-promo
|
COMMON_GLOBAL_CPPFLAGS:= -Wsign-promo
|
||||||
COMMON_RELEASE_CPPFLAGS:=
|
COMMON_RELEASE_CPPFLAGS:=
|
||||||
|
|
Loading…
Reference in New Issue