Skip to content

Commit b8583fe

Browse files
authored
gcc optimization - CMakeLists.txt
1 parent ac4511a commit b8583fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,5 @@ add_custom_target(mem-variant DEPENDS "mem_variant")
3737
##################
3838
### ESP Matter ###
3939
##################
40-
idf_build_set_property(CXX_COMPILE_OPTIONS "-std=gnu++17;-DCHIP_HAVE_CONFIG_H" APPEND)
40+
idf_build_set_property(CXX_COMPILE_OPTIONS "-std=gnu++17;-Os;-DCHIP_HAVE_CONFIG_H" APPEND)
41+
idf_build_set_property(C_COMPILE_OPTIONS "-Os" APPEND)

0 commit comments

Comments
 (0)