Fix the error that occurs when executing make in Windows
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user