|
|
@@ -11,6 +11,7 @@ unset(compile_definitions)
|
|
|
|
|
|
if(CONFIG_COMPILER_OPTIMIZATION_LEVEL_RELEASE)
|
|
|
list(APPEND compile_options "-Os")
|
|
|
+ list(APPEND compile_options "-freorder-blocks")
|
|
|
else()
|
|
|
list(APPEND compile_options "-Og")
|
|
|
endif()
|
|
|
@@ -79,4 +80,4 @@ foreach(component_target ${build_component_targets})
|
|
|
add_subdirectory(${dir} ${_name})
|
|
|
endif()
|
|
|
set(__idf_component_context 0)
|
|
|
-endforeach()
|
|
|
+endforeach()
|