Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 715172fa authored by Colin Cross's avatar Colin Cross Committed by android-build-merger
Browse files

Merge "Don\'t force color diagnostics outside of ninja" am: 41fed8c0

am: 01394871

* commit '01394871':
  Don't force color diagnostics outside of ninja
parents e17ccfdb 01394871
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -60,8 +60,10 @@ CLANG_CONFIG_EXTRA_CPPFLAGS += \

# Force clang to always output color diagnostics.  Ninja will strip the ANSI
# color codes if it is not running in a terminal.
ifdef BUILDING_WITH_NINJA
CLANG_CONFIG_EXTRA_CFLAGS += \
  -fcolor-diagnostics
endif

CLANG_CONFIG_UNKNOWN_CFLAGS := \
  -finline-functions \
+2 −0
Original line number Diff line number Diff line
@@ -596,7 +596,9 @@ COMMON_RELEASE_CFLAGS:= -DNDEBUG -UDEBUG

# Force gcc to always output color diagnostics.  Ninja will strip the ANSI
# color codes if it is not running in a terminal.
ifdef BUILDING_WITH_NINJA
COMMON_GLOBAL_CFLAGS += -fdiagnostics-color
endif

COMMON_GLOBAL_CPPFLAGS:= -Wsign-promo
COMMON_RELEASE_CPPFLAGS:=