File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
arm-software/embedded/arm-multilib Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -342,10 +342,12 @@ foreach(lib_idx RANGE ${lib_count_dec})
342342 foreach (flag ${multilib_flags_list} )
343343 string (APPEND multilib_yaml_content " - ${flag} \n " )
344344 endforeach ()
345- string (APPEND multilib_yaml_content " IncludePath:\n " )
346- string (APPEND multilib_yaml_content " - ${parent_dir_name} /include\n " )
347- string (APPEND multilib_yaml_content " - ${parent_dir_name} /${variant} /include\n " )
348- string (APPEND multilib_yaml_content " Group: stdlibs\n " )
345+ if (ENABLE_MULTILIB_HEADER_OPTIMISATION)
346+ string (APPEND multilib_yaml_content " IncludePath:\n " )
347+ string (APPEND multilib_yaml_content " - ${parent_dir_name} /include\n " )
348+ string (APPEND multilib_yaml_content " - ${parent_dir_name} /${variant} /include\n " )
349+ string (APPEND multilib_yaml_content " Group: stdlibs\n " )
350+ endif ()
349351 else ()
350352 # In place of a json, an error message is expected.
351353 string (JSON variant_error_msg GET ${lib_def} "error" )
You can’t perform that action at this time.
0 commit comments