Skip to content

Commit

Permalink
Merge pull request #2533 from kkitayam/fix_error_on_cmd
Browse files Browse the repository at this point in the history
Fix the error that occurs when executing make on Windows
  • Loading branch information
HiFiPhile authored Mar 24, 2024
2 parents 67cd834 + aba00ed commit 81e4f65
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/build_system/make/toolchain/arm_gcc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ LDFLAGS += -Wl,--print-memory-usage
endif

# from version 12
ifeq ($(shell expr $(CC_VERSION_MAJOR) \>= 12),1)
ifeq ($(strip $(if $(CMDEXE),\
$(shell if $(CC_VERSION_MAJOR) geq 12 (echo 1) else (echo 0)),\
$(shell expr $(CC_VERSION_MAJOR) \>= 12))), 1)
LDFLAGS += -Wl,--no-warn-rwx-segment
endif

0 comments on commit 81e4f65

Please sign in to comment.