forked from nuttx/nuttx-update
fix Cygwin/MSYS2 ld: unrecognized option '-z'
The '-z' options don't supported for Windows versions of ld.
This commit is contained in:
parent
a34be7f7c2
commit
b5d640acc5
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ CXXFLAGS := $(ARCHOPTIMIZATION) $(ARCHCXXFLAGS) $(ARCHXXINCLUDES) $(ARCHDEFINES)
|
|||
CPPFLAGS := $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRAFLAGS)
|
||||
AFLAGS := $(CFLAGS) -D__ASSEMBLY__
|
||||
|
||||
ifneq ($(CONFIG_HOST_MACOS),y)
|
||||
ifeq ($(CONFIG_HOST_LINUX),y)
|
||||
LDLINKFLAGS += -z noexecstack
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue