haiyuewa commented on code in PR #14505:
URL: https://github.com/apache/nuttx/pull/14505#discussion_r1816994117
##########
arch/x86_64/src/cmake/Toolchain.cmake:
##########
@@ -83,6 +83,12 @@ if(CONFIG_DEBUG_SYMBOLS)
add_compile_options(${CONFIG_DEBUG_SYMBOLS_LEVEL})
endif()
+if(CONFIG_HOST_LINUX)
+ if(CONFIG_ARCH_HAVE_FORK)
Review Comment:
> why need check CONFIG_ARCH_HAVE_FORK
This warning is just caused by fork.o, so added this macro check. Make sense
to remove this, not only for this object link.
Will remove it. Align this to the comment from @raiden00pl
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]