casaroli commented on code in PR #3882: URL: https://github.com/apache/nuttx-apps/pull/3882#discussion_r4319970236
########## Application.mk: ########## @@ -63,7 +63,12 @@ LDLIBS += $(call CONVERT_PATH,$(BIN)) # uses __udivdi3. ifeq ($(BUILD_MODULE),y) COMPILER_RT_LIB := $(call FIND_COMPILER_RT_LIB) - LDLIBS += $(COMPILER_RT_LIB) + ifneq ($(CONFIG_BUILD_KERNEL),y) + ifneq ($(COMPILER_RT_LIB),) + MODULE_RT_LIB := $(call MODULE_COMPILER_RT_LIB,$(COMPILER_RT_LIB)) Review Comment: Done: `Application.mk` and `Library.mk` now link with `EMUTLS_LDFLAGS` (`--wrap=...`) from NuttX, and the copy of the compiler runtime is gone. -- 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]
