[libc] Fix bug in LIBC_CONF_ERRNO_MODE being undefined (#144896)
A typo, set() instead of list() would cause the build to not define LIBC_CONF_ERRNO_MODE, which would cause the wrong configuration to be used.
This commit is contained in:
@@ -107,7 +107,7 @@ function(_get_compile_options_from_config output_var)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(LIBC_CONF_ERRNO_MODE)
|
if(LIBC_CONF_ERRNO_MODE)
|
||||||
set(APPEND config_options "-DLIBC_ERRNO_MODE=${LIBC_CONF_ERRNO_MODE}")
|
list(APPEND config_options "-DLIBC_ERRNO_MODE=${LIBC_CONF_ERRNO_MODE}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(${output_var} ${config_options} PARENT_SCOPE)
|
set(${output_var} ${config_options} PARENT_SCOPE)
|
||||||
|
|||||||
Reference in New Issue
Block a user