Skip to content

Commit 56ec587

Browse files
committed
toolchains: enable colorized gcc output
1 parent c9465a4 commit 56ec587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toolchains/arm-none-eabi.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ endif()
3030
# Set the common build flags
3131

3232
# Common flags shared by asm, c and cpp
33-
set( COMMON_FLAGS "--param max-inline-insns-single=500 -mlong-calls -ffunction-sections -fdata-sections -fno-exceptions -fsingle-precision-constant -Wall -Wextra -Wundef -Wdouble-promotion -Wno-expansion-to-defined")
33+
set( COMMON_FLAGS "--param max-inline-insns-single=500 -mlong-calls -ffunction-sections -fdata-sections -fno-exceptions -fsingle-precision-constant -Wall -Wextra -Wundef -Wdouble-promotion -Wno-expansion-to-defined -fdiagnostics-color")
3434

3535
set( CMAKE_ASM_FLAGS "${COMMON_FLAGS}" )
3636
set( CMAKE_C_FLAGS "${COMMON_FLAGS} -std=gnu17" )

0 commit comments

Comments
 (0)