pkarashchenko commented on a change in pull request #1094:
URL: 
https://github.com/apache/incubator-nuttx-apps/pull/1094#discussion_r836194406



##########
File path: import/Make.defs
##########
@@ -71,7 +71,7 @@ ifeq ($(CONFIG_BUILD_KERNEL),y)
     LDLIBS += -lxx
   endif
 ifneq ($(CONFIG_LIBM),y)
-  LIBM = ${shell "$(CC)" $(ARCHCPUFLAGS) --print-file-name=libm.a}
+  LIBM = ${wildcard ${shell $(CC) $(ARCHCPUFLAGS) --print-file-name=libm.a}}

Review comment:
       I've reexamined the case and think that this changes are not required. 
But instead we probably need to rework build logic not to use `LDLIBPATH` and 
`LDLIBS` logic for compiler libraries , but use `EXTRA_LIBS` instead.
   
   I will try to apply the change, but most probably next week.




-- 
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-unsubscr...@nuttx.apache.org

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


Reply via email to