You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/02/22 23:32:43 UTC

[GitHub] [incubator-nuttx-apps] masayuki2009 commented on a change in pull request #1022: import: Make.defs: Do not link thumb-based libraries for BUILD_KERNEL

masayuki2009 commented on a change in pull request #1022:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1022#discussion_r812447243



##########
File path: import/Make.defs
##########
@@ -66,6 +66,8 @@ LDLIBPATH = $(addprefix -L,$(call CONVERT_PATH,$(TOPDIR)$(DELIM)libs))
 # Link with user libraries
 
 ifeq ($(CONFIG_BUILD_KERNEL),y)
+  # Clear ARCHCPUFLAGS not to link thumb-based libraries to avoid a crash
+  ARCHCPUFLAGS =

Review comment:
       @xiaoxiang781216 
   
   Actually, thumb-based libraries can be linked.
   However, as I commented below, it crashed inside the gcc helper function.




-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org