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
@ -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 New Issue
Block a user