This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch releases/10.0
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/releases/10.0 by this push:
     new 33f8dda  cygwin build - path issue fix
33f8dda is described below

commit 33f8dda4b3e1524d5b697ed0d12a65bf0c4776f8
Author: rajeshwaribhat <rajeshwarib...@tataelxsi.co.in>
AuthorDate: Tue Oct 6 17:46:08 2020 +0530

    cygwin build - path issue fix
---
 arch/renesas/src/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/renesas/src/Makefile b/arch/renesas/src/Makefile
index edc3098..b8e94e6 100644
--- a/arch/renesas/src/Makefile
+++ b/arch/renesas/src/Makefile
@@ -96,16 +96,16 @@ endif
 # Add the builtin library
 
 EXTRA_LIBS += -lgcc
-EXTRA_LIBPATHS += -L "${dir ${shell $(CC) $(ARCHCPUFLAGS) 
--print-libgcc-file-name}}"
+EXTRA_LIBPATHS += -L"${shell dirname "`$(CC) $(ARCHCPUFLAGS) 
--print-libgcc-file-name`"}"
 
 ifneq ($(CONFIG_LIBM),y)
   EXTRA_LIBS += -lm
-  EXTRA_LIBPATHS += -L "${dir ${shell $(CC) $(ARCHCPUFLAGS) 
--print-file-name=libm.a}}"
+  EXTRA_LIBPATHS += -L"${shell dirname "`$(CC) $(ARCHCPUFLAGS) 
--print-file-name=libm.a`"}"
 endif
 
 ifeq ($(CONFIG_CXX_LIBSUPCXX),y)
   EXTRA_LIBS += -lsupc++
-  EXTRA_LIBPATHS += -L "${dir ${shell $(CC) $(ARCHCPUFLAGS) 
--print-file-name=libsupc++.a}}"
+  EXTRA_LIBPATHS += -L"${shell dirname "`$(CC) $(ARCHCPUFLAGS) 
--print-file-name=libsupc++.a`"}"
 endif
 
 VPATH = chip:common

Reply via email to