mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-24 07:43:38 +00:00
Fix the error that occurs when executing make in Windows
This commit is contained in:
parent
67cd8349d6
commit
aba00ed22c
@ -74,6 +74,8 @@ LDFLAGS += -Wl,--print-memory-usage
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# from version 12
|
# 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
|
LDFLAGS += -Wl,--no-warn-rwx-segment
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user