pkarashchenko commented on a change in pull request #5496: URL: https://github.com/apache/incubator-nuttx/pull/5496#discussion_r806278895
########## File path: tools/Config.mk ########## @@ -548,3 +548,11 @@ else ARCHXXINCLUDES += ${shell $(INCDIR) -s "$(CC)" $(TOPDIR)$(DELIM)include$(DELIM)cxx} endif ARCHXXINCLUDES += ${shell $(INCDIR) -s "$(CC)" $(TOPDIR)$(DELIM)include} + +# Linker Scripts + +ifeq ($(CONFIG_CYGWIN_WINTOOL),y) + ARCHSCRIPT_CLI = $(addprefix -T,$(foreach SCRIPT,$(ARCHSCRIPT),${shell cygpath -w $(SCRIPT)})) +else + ARCHSCRIPT_CLI = $(addprefix -T,$(ARCHSCRIPT)) +endif Review comment: Is it possible just ``` ifeq ($(CONFIG_CYGWIN_WINTOOL),y) LDFLAGS = $(addprefix -T,$(foreach SCRIPT,$(ARCHSCRIPT),${shell cygpath -w $(SCRIPT)})) else LDFLAGS = $(addprefix -T,$(ARCHSCRIPT)) endif ``` And drop `ARCHSCRIPT_CLI`? -- 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