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 13:26:11 UTC

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

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



##########
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:
       why can't link the thumb-based library? I think both side should be sync with/without thumb.




-- 
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